Set a project's quota
PUT/v1/quotas/projects/:id
A limit left out comes from the project's domain or the cloud's defaults. -1 is unlimited. Lowering a limit below what is in use stops new protection, never scheduled backups.
Operator only: needs a system-scoped token.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 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 quota:write permission.
Not Found.
not_found: Keystone has no project with this id.
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: The id is blank. Or a limit is below -1. Or the body names no limit.
An error, as an RFC 7807 problem document.