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

Name
Type
Description

roleId

integer

ID for the role

Query Parameters

Name
Type
Description

select

array

Specify which fields you'd like in the response

relations

object

Specify relations with other entities

Headers

Name
Type
Description

Authorization

string

Bearer {{API_KEY}}

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

Last updated