List permissions
GET/organizations/:organizationId/permissions
List Permissions
Request
Path Parameters
organizationId stringrequired
Query Parameters
maxResults number
Possible values: >= 10
and <= 100
The maximum number of results to return.
nextToken string
To retrieve the next set of results.
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
data object[]required
Array of permission objects, each representing a specific set of permissions granted or available.
id stringrequired
description stringrequired
groups string[]required
categoryId stringrequired
actionId stringrequired
createdAt numberrequired
updatedAt numberrequired
createdBy stringrequired
updatedBy stringrequired
{
"data": [
{
"id": "string",
"description": "string",
"groups": [
"string"
],
"categoryId": "string",
"actionId": "string",
"createdAt": 0,
"updatedAt": 0,
"createdBy": "string",
"updatedBy": "string"
}
]
}
{
"data": [
{
"id": "prm-lns:tenants:device-profiles:delete",
"description": "Permission to delete lns:tenants:device-profiles",
"groups": [
"Team can Manage Assets, Asset type, Integrations, Smart workflows and Infodeck LNS"
],
"categoryId": "lns",
"actionId": "lns:tenants:device-profiles:delete",
"createdAt": 1714365479329,
"updatedAt": 1714365479329,
"createdBy": "system",
"updatedBy": "system"
}
]
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}
Loading...