Sign in
POST/v1/auth/session
Exchanges a user name and password for a token. Naming no project gives an unscoped token, answered with the projects it can be scoped to and whether it can be scoped to the whole cloud. Attempts are rate limited.
No token is needed.
Request
Responses
- 201
- 400
- 401
- 413
- 415
- 422
- 429
- default
Created
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 identity service did not accept the credentials, the domain or the project. Every refusal reads the same, so an unknown user cannot be told from a wrong password.
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: user or password is missing.
Too Many Requests.
rate_limited: More than 10 sign-in, scope or code attempts came from this address in the last minute.
An error, as an RFC 7807 problem document.