Sign out
This API endpoint allows logging out the authenticated user, clearing the access token and session from the server-side. User will have to login again for getting new access token, client token etc.
Query Parameters
client_auth_token string required
Client API token
Header Parameters
access-token string required
user access token
client string required
client access token
expiry string required
timestamp of token expiry
Example: 1531312879
token-type string required
access token type
Example: Bearer
uid string required
user uid
Example: user@quranreflect.com
Responses
- 200
- 404
OK
Response Headers
application/json
Schema
Example (from schema)
Example
Schema
success boolean
Default value: true
{
"success": true
}
{
"success": true
}
Not Found, this usually means user is not logged in
Response Headers
application/json
Schema
Example (from schema)
Example 1
Example
Schema
success boolean
errors string[]
{
"success": true,
"errors": [
"string"
]
}
{
"success": false,
"errors": [
"User was not found or was not logged in."
]
}
{
"success": false,
"errors": [
"User was not found or was not logged in."
]
}
Loading...