accessmanagement - users

Lists a specific user's permissions within a specific resource group.

This endpoint lists a specific user's permissions within a specific resource group, providing clarity on what actions the user can perform within that group for better access control.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns 400 and 404 error codes with clear descriptions when requests fail.</br>- Targeted data retrieval: Employs the userId and resourceGroupId parameters to return the specified permissions, ensuring accuracy and relevance in the response.

get/accessmanagement/{userId}/resourcegroups/{resourceGroupId}/permissions

Request

Path parameters

userIdinteger required

Filters data by the user’s unique identifier.

resourceGroupIdinteger required

Filters data by the resource group’s unique identifier.

Response

Permissions returned successfully.

totalinteger
countinteger
perPageinteger
currentPageinteger
totalPagesinteger

Example response

{
  "data": [
    {
      "id": 1,
      "resource": "Managed DNS",
      "action": "commit",
      "status": "ALLOW"
    }
  ],
  "total": 25,
  "count": 10,
  "perPage": 10,
  "totalPages": 3
}

Changes

No recorded changes to this operation across all 1 revision of this API.