Permission

List Permissions

Returns a list of permissions that can be granted to users providing them with access to a specific resource action.

get/auth/permissions

Request

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

Response

Getting permissions success

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Example response

{
  "status": true,
  "message": "Getting permissions success",
  "permissions": [
    {
      "id": 7613,
      "resource": "Environment",
      "permission": "environment:list",
      "method": "GET",
      "endpoint": "^/core/environments/?$",
      "created_at": "2026-05-06T15:18:42Z"
    }
  ]
}

Changes

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