Get Single Role

Retrieve a single role

Get Single Role

GET https://{{account_id}}.acquire.io/api/v1/account/role/{{roleId}}

Retrieve a single role. The roleId must be passed in to the endpoint as a path parameter.

Path Parameters

NameTypeDescription

roleId

integer

ID for the role

Query Parameters

NameTypeDescription

select

array

Specify which fields you'd like in the response

relations

object

Specify relations with other entities

Headers

NameTypeDescription

Authorization

string

Bearer {{API_KEY}}

{
  "data": {
    "id": 1,
    "roleName": "Administrator",
    "permissions": [
      "*/*"
    ],
    "permissionType": null,
    "meta": null
  }
}

Last updated