# Create or update a search application **PUT /_application/search_application/{name}** ## Required authorization * Index privileges: `manage` * Cluster privileges: `manage_search_application` ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **name** (string) The name of the search application to be created or updated. ### Query parameters - **create** (boolean) If `true`, this request cannot replace or update existing Search Applications. ### Body: application/json (object) - **indices** (array[string]) Indices that are part of the Search Application. - **analytics_collection_name** (string) Analytics collection associated to the Search Application. - **template** (object) Search template to use on search operations. ## Responses ### 200 #### Body: application/json (object) - **result** (string) [Powered by Bump.sh](https://bump.sh)