/v1/admin/loginCheck a staff password
Request body · object
emailstring (email), requiredpasswordstring, requiredrecaptcha_tokenstringA reCAPTCHA token, when the tenant checks reCAPTCHA (GET /v1/config says whether).
{
"email": "email",
"password": "string",
"recaptcha_token": "string"
}Response 200 · object
Done.
challengestring, requiredSend back with the authenticator code; lasts five minutes.
{
"challenge": "string"
}Response 400 · Error
The request is not valid.
errorobject, requiredcodestring, requiredA short machine-readable name, such as not_found.
messagestring, requiredWhat went wrong, for people.
request_idstring, requiredMatches the X-Request-ID response header.
{
"error": {
"code": "string",
"message": "string"
},
"request_id": "string"
}Response 401 · Error
No tenant key, or no valid session.
Fields as in Check a staff password
Response 404 · Error
Not found, or not yours.
Fields as in Check a staff password
Response 409 · Error
It clashes with what is stored.
Fields as in Check a staff password
Response 429 · Error
Too many attempts; see Retry-After.
Fields as in Check a staff password
Response 500 · Error
Something failed on our side.
Fields as in Check a staff password