Download OpenAPI specification:
| client_id required | string |
| scope required | string |
{- "client_id": "string",
- "scope": "string"
}{- "error": "invalid_client",
- "error_description": "string"
}required | object (Account.Clients.CreateClientReq) |
{- "client": {
- "name": "string",
- "redirect_urls": [
- "string"
]
}
}{- "client": {
- "id": "string",
- "name": "string",
- "secret": "string",
- "redirect_urls": [
- "string"
]
}
}| id required | string |
required | object (Account.Clients.UpdateClientReq) |
{- "client": {
- "name": "string",
- "redirect_urls": [
- "string"
]
}
}{- "error": "string"
}| response_type required | string (OAuth.AuthorizeResponseType) Value: "code" |
| client_id required | string |
| redirect_uri required | string |
| scope required | string |
| state | string |
| max_age | integer <int32> |
{- "error": "invalid_request",
- "error_description": "string",
- "state": "string"
}| authorization required | string |
| grant_type required | string (OAuth.TokenGrantType) Value: "authorization_code" |
| code required | string |
| redirect_uri required | string |
{- "access_token": "string",
- "token_type": "Bearer",
- "expires_in": 0,
- "id_token": "string"
}| name required | string |
| password required | string |
{- "name": "string",
- "password": "string"
}{- "error": "invalid_name_or_password",
- "error_description": "string"
}| name required | string |
| password required | string |
| password_confirmation required | string |
{- "name": "string",
- "password": "string",
- "password_confirmation": "string"
}{- "error": "name_length_not_enough",
- "error_description": "string"
}