User Permission

List user permissions

Retrieves a list of permissions granted to a specific user within your organization. Provide the ID of the user in the path. For additional information on user permissions,.

get/auth/users/{id}/permissions

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/auth/users/{id}/permissions
  • Auth: API key in header api_key

Path parameters

idinteger required

ID of the user.

Response

Success

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Example response

{
  "status": true,
  "message": "Getting my permissions successfully",
  "permissions": [
    {
      "id": 7613,
      "resource": "Environment",
      "permission": "environment:list"
    }
  ]
}

Changes

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