GET
/
auth
/
roles
/
{id}
/
permissions
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/auth/roles/{id}/permissions \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": "<string>",
  "content": {
    "permissions": [
      {
        "id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "action": "GET",
        "resource": "<string>",
        "active": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "modified_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

role ulid

Response

200 - application/json
OK
message
string
success
string
content
object