List user roles
Changed onLists all roles assigned to users in your organization.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/authz/user_role
- AuthHTTP bearer
Query parameters
Filter roles by user ID.
Filter roles by NRN.
Comma-separated extras to include in the response.
• pending: Include roles that are pending acceptance.
• actions: Add an actions array with every action the user can grant to an API key at this NRN: the actions of the roles they hold on it or on a parent, plus the actions of the roles they may assign to a key there. Requires exactly one user_id and one nrn. This is the ceiling the fine-grained API key picker offers.
Response
The operation was successful.
Example response
[
{
"user_id": 789,
"grants": [
{
"id": 12345,
"nrn": "organization=1:account=1:namespace=1:application=4",
"status": "active",
"role": {
"id": 696188987,
"name": "Admin",
"slug": "admin",
"description": "Manage all the resources",
"can_assign_roles": [
{
"id": 700317756,
"name": "Developer",
"slug": "developer",
"description": "Can create builds and releases, scopes, and start deployments"
}
]
}
}
],
"actions": [
"application:read",
"deployment:create"
]
}
]Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
added the new enum value
actionsto thequeryrequest parameterinclude - info
added the new enum value
pending,actionsto thequeryrequest parameterinclude - info
added the optional property
/to the response with the status
- info