Get Permissions by Id - GET /Permissions/{id}



Get details of a specified permission.

The ‘Manage Roles’ or ‘Manage Users’ permission is required to execute this API.

Usage:

  1. GET /Permissions and get details of all permissions
  2. 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 usWe appreciate your feedback!