Role

List all roles

Lists all managed roles and roles owned by the user's builder.

get/auth/roles

Request

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

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.