Admin
Delete a custom role
Refuses while any member still holds the role.
Authorization
HTTPBearer AuthorizationBearer <token>
JWT access token
In: header
Path Parameters
role_id*string
Format
uuidQuery Parameters
merchant_id?|
Optional merchant to act on. Must be one you are a member of.
Format
uuidHeader Parameters
X-Merchant-ID?string|null
Response Body
application/json
application/json
curl -X DELETE "https://example.com/api/v1/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "message": "Done.", "ok": true, "resource_id": "string" }, "meta": {}, "success": true}Create a custom role POST
Defines a merchant-scoped role from an explicit permission set. Every code is validated against the permission catalogue, and a creator can never grant a permission they do not hold themselves.
Merchant settings and integration status GET
Merchant settings and integration status.