| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 | [[delete-snapshot-repo-api]]=== Delete snapshot repository API++++<titleabbrev>Delete snapshot repository</titleabbrev>++++Unregisters one or more <<snapshots-register-repository,snapshot repositories>>.When a repository is unregistered, {es} only removes the reference to thelocation where the repository is storing the snapshots. The snapshots themselvesare left untouched and in place.////[source,console]----PUT /_snapshot/my_repository{  "type": "fs",  "settings": {    "location": "my_backup_location"  }}----////[source,console]----DELETE /_snapshot/my_repository----// TEST[continued][[delete-snapshot-repo-api-request]]==== {api-request-title}`DELETE /_snapshot/<repository>`[[delete-snapshot-repo-api-path-params]]==== {api-path-parms-title}`<repository>`::(Required, string)Name of the snapshot repository to unregister. Wildcard (`*`) patterns aresupported.[[delete-snapshot-repo-api-query-params]]==== {api-query-parms-title}`master_timeout`::(Optional, <<time-units, time units>>) Specifies the period of time to wait fora connection to the master node. If no response is received before the timeoutexpires, the request fails and returns an error. Defaults to `30s`.`timeout`::(Optional, <<time-units, time units>>) Specifies the period of time to wait fora response. If no response is received before the timeout expires, the requestfails and returns an error. Defaults to `30s`.
 |