Generate Access Token
Generate Access Token
Header Parameters
- Content-Type string required
Possible values: [
application/json
]
- application/json
Request Body
- grant_type string required
Possible values: [
client_credentials
] - client_id string required
- client_secret string required
- scopes string[]
Possible values: [
USER
]
Responses
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- access_token string
- expires_in string
- token_type string
{
"access_token": "string",
"expires_in": 3600,
"token_type": "Bearer"
}
Unauthorised -- Authentication error.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Loading...