Errors
API key revoked
The `api_key_revoked` error: HTTP 401 Unauthorized.
The API answers with this code and HTTP 401 Unauthorized.
| Field | Value |
|---|---|
code | api_key_revoked |
status | 401 Unauthorized |
title | API key revoked |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is api_key_revoked. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/api_key_revoked",
"title": "API key revoked",
"status": 401,
"code": "api_key_revoked"
}See every error code.