GET
/
auth
/
roles
curl --request GET \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/auth/roles \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true,
  "content": {
    "roles": [
      {
        "id": "<string>",
        "name": "<string>",
        "seller_id": "<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.

Response

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