Examples

GET /api/permissions
200
{
  "total": 162,
  "subtotal": 162,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "name": "view_architectures",
      "id": 350275019,
      "resource_type": "Architecture"
    },
    {
      "name": "create_architectures",
      "id": 912770095,
      "resource_type": "Architecture"
    },
    {
      "name": "edit_architectures",
      "id": 874798611,
      "resource_type": "Architecture"
    },
    {
      "name": "destroy_architectures",
      "id": 586604735,
      "resource_type": "Architecture"
    },
    {
      "name": "view_authenticators",
      "id": 687843582,
      "resource_type": "AuthSource"
    },
    {
      "name": "create_authenticators",
      "id": 956119309,
      "resource_type": "AuthSource"
    },
    {
      "name": "edit_authenticators",
      "id": 395314704,
      "resource_type": "AuthSource"
    },
    {
      "name": "destroy_authenticators",
      "id": 1067518973,
      "resource_type": "AuthSource"
    },
    {
      "name": "view_bookmarks",
      "id": 995886532,
      "resource_type": "Bookmark"
    },
    {
      "name": "create_bookmarks",
      "id": 435712857,
      "resource_type": "Bookmark"
    },
    {
      "name": "edit_bookmarks",
      "id": 978016136,
      "resource_type": "Bookmark"
    },
    {
      "name": "destroy_bookmarks",
      "id": 1027408783,
      "resource_type": "Bookmark"
    },
    {
      "name": "view_compute_resources",
      "id": 524255159,
      "resource_type": "ComputeResource"
    },
    {
      "name": "create_compute_resources",
      "id": 673360498,
      "resource_type": "ComputeResource"
    },
    {
      "name": "edit_compute_resources",
      "id": 385985960,
      "resource_type": "ComputeResource"
    },
    {
      "name": "destroy_compute_resources",
      "id": 382135357,
      "resource_type": "ComputeResource"
    },
    {
      "name": "view_compute_profiles",
      "id": 944771383,
      "resource_type": "ComputeProfile"
    },
    {
      "name": "create_compute_profiles",
      "id": 1035871455,
      "resource_type": "ComputeProfile"
    },
    {
      "name": "edit_compute_profiles",
      "id": 884230802,
      "resource_type": "ComputeProfile"
    },
    {
      "name": "destroy_compute_profiles",
      "id": 932164668,
      "resource_type": "ComputeProfile"
    }
  ]
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optional

filter results

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name Type Possible values
name string
resource_type string