Change a vault
PATCH/v1/vaults/:id
Fields left out are kept. A vault stays on its repository.
Operator only: needs a system-scoped token.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 422
- default
OK
Bad Request.
invalid_request: The body is not a single JSON object, names a field this operation does not take, or gives a value of the wrong type.
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token lacks the vault:write permission.
Not Found.
not_found: The id is not a UUID, or no vault has it.
Conflict.
conflict: Another vault already has the new name.
Request Entity Too Large.
body_too_large: The body is larger than the service accepts.
Unsupported Media Type.
unsupported_media_type: The body is not sent as application/json.
Unprocessable Entity.
validation_failed: A field is not acceptable, and fields names each one. repository_id names another repository. name is empty or longer than 191 characters. The manual terms fail a check made on creation.
An error, as an RFC 7807 problem document.