List oauth roles
GET/api/web/v1/oauthroles
List all oauth roles. Caller requires the OAUTHROLES:VIEW permission.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The set of ancestor oauth role ids.
The set of descendant oauth role ids.
The description of this oauth role.
The UUID of this oauth role. This value is generated when the oauth role is created.
The set of resource server scopes ids associated with this oauth role based on inheritance from its ancestors.
The name of this oauth role.
The UUID of the parent of this oauth role, if one exists.
The set of resource server scopes ids associated with this oauth role.
[
{
"ancestorIds": [
"string"
],
"descendantIds": [
"string"
],
"description": "string",
"id": "string",
"inheritedResourceServerScopeIds": [
"string"
],
"name": "string",
"parentId": "string",
"resourceServerScopeIds": [
"string"
]
}
]
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}