Synq Docs
Management APIRoles

List an org's roles

The system roles and the org’s own. Needs `org.members.view`.

GET/v1/orgs/{org}/roles

The system roles and the org’s own. Needs org.members.view.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/orgs/string/roles"
{  "data": [    {      "id": "string",      "name": "string",      "system": true,      "permissions": [        "string"      ]    }  ]}