Role

Get role details

Get details about a single role by ID.

get/auth/roles/{id}

Request

  • Base URL
    https://api.sandbox.zusapi.com
  • URL
    https://api.sandbox.zusapi.com/auth/roles/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

Success

Example response

{
  "data": {
    "type": "auth/roles",
    "attributes": {
      "permissions": "[{\"service\": \"servicename\",\"actions\":[\"*.*\"]}]"
    },
    "relationships": {
      "auth/builders": {
        "data": {
          "type": "auth/builders"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.