Deregister a repository
DELETE/v1/repositories/:id
Removes the registration and leaves the stored data where it is. Refused while a plan is placed on the repository, or while it still holds data under object lock.
Operator only: needs a system-scoped token.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- default
No Content
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token's roles do not grant repository:register.
Not Found.
not_found: The id is not a UUID, or no repository has it.
Conflict.
conflict: A plan's policy places backups on this repository as its backup, instant or copy tier. detail names the plans.
repository_immutable: The repository still holds backups whose retention has not elapsed. Or it holds unreferenced objects or old object versions that the storage's lock does not release yet.
An error, as an RFC 7807 problem document.