| description |
content |
Request has been handled successfully. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| success |
data |
| type |
example |
boolean |
true |
|
| type |
properties |
additionalProperties |
object |
| message |
| enum |
User has been assigned as an admin successfully. |
|
|
|
false |
|
|
false |
|
|
|
|
| description |
content |
The request is missing required parameters or is invalid. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The request is missing required headers or is invalid |
|
| type |
example |
string |
invalid_request |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
The request is unauthorized. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The request requires user authentication |
|
| type |
example |
string |
unauthorized |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
Forbidden error. Can either be due to access token not being passed, having been expired or the caller trying to access a resource without enough permissions. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The server understood the request, but refuses to authorize it |
|
| type |
example |
string |
forbidden |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
Not Found. The resource being accessed does not exist. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The requested resource could not be found |
|
| type |
example |
string |
not_found |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
Validation Error. The request includes one or more invalid params. Please check the request params and try again. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The request was well-formed but was unable to be followed due to semantic errors |
|
| type |
example |
string |
unprocessable_entity |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
Too many requests, please try again later. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
Too many requests, please try again later |
|
| type |
example |
string |
rate_limit_exceeded |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
Server Error. Something went wrong, try again later. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The server encountered an internal error and was unable to complete your request |
|
| type |
example |
string |
internal_server_error |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
Invalid response from the upstream server |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The server was acting as a gateway or proxy and received an invalid response from the upstream server |
|
| type |
example |
string |
bad_gateway |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The server is currently unable to handle the request due to a temporary overload or scheduled maintenance |
|
| type |
example |
string |
service_unavailable |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|
| description |
content |
The server did not receive a timely response from the upstream server. |
| application/json |
| schema |
| type |
properties |
additionalProperties |
object |
| message |
type |
success |
| type |
example |
string |
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server |
|
| type |
example |
string |
gateway_timeout |
|
| type |
example |
boolean |
false |
|
|
false |
|
|
|
|