Get authentication token
POST
/api/oauth/v1/token
Authentication
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/oauth/v1/token' \
--header 'Authorization;' \
--header 'Content-type: application/json' \
--data-raw '{
"grant_type": "password",
"password": "admin",
"username": "admin"
}'
Response Response Example
200 - Example 1
{
"access_token": "string",
"expires_in": 0,
"refresh_token": "string",
"scope": "string",
"token_type": "string"
}
Request
Header Params
Content-type
stringÂ
required
Authorization
stringÂ
required
Body Params application/json
Responses
Modified at 2023-08-15 05:53:55