API problem types / Sign-in and access
HTTP 401 · Unauthorized
Unauthorized
https://corplyst.com/problems/unauthorized
What it means
The request needs a signed-in user, but it carried no access token, or the token has expired or been revoked (for example after a logout or a password change).
What to do
Sign in again. API clients should call the refresh endpoint to get a new access token and retry the request once.
Example response
Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.
{
"type": "https://corplyst.com/problems/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "…"
}