Assign a role to users or groups
{- "entity_ids": [
- "string"
], - "entity_type": "User"
}
{- "message": "string",
- "error_code": 404
}
Delete user or group assignment from a role
{- "message": "string",
- "error_code": 404
}
Create a new role for this application
{- "role_name": "string",
- "permissions": [
- "string"
], - "description": "string",
- "display_name": "string"
}
{- "result": {
- "result": { }
}
}
Retrieve a list of all roles created for this application
{- "result": [
- {
- "role_id": "string",
- "role_name": "string",
- "permissions": [
- "string"
], - "app_id": "string",
- "description": "string",
- "display_name": "string"
}
]
}
{- "result": {
- "role_id": "string",
- "role_name": "string",
- "permissions": [
- "string"
], - "app_id": "string",
- "description": "string",
- "display_name": "string"
}
}
Update an existing role for this application
{- "role_name": "string",
- "permissions": [
- "string"
], - "description": "string",
- "display_name": "string"
}
{- "result": { }
}