Get Permissions by Id - GET /Permissions/{id}
Owned by David P (Deactivated)
Get details of a specified permission.
The ‘Manage Roles’ or ‘Manage Users’ permission is required to execute this API.
Usage:
- GET /Permissions and get details of all permissions
- GET /Permissions/{id} and get details of a permission
URL
/cxrestapi/auth/Permissions/{id}
Method:
GET
Media Type (header):
Authorization: Bearer <access token value>
Accept: application/json;v=1.0
Parameters
Required:
id=[integer] – Unique Id of the Permission
Success Response:
Code: 201 Success
Error Response:
Code: 400 Bad Request
Code: 401 Unauthorized
Code: 403 Forbidden
Code: 404 Not Found
Sample Response:
{
"id": 4,
"serviceProviderId": 1,
"name": "manage-system-settings",
"category": null
}
Notes:
Retrieves permission details according to the permission Id. If the request fails, it returns an error response.
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!