Auth API reference

Auth API · Roles

delete/v1/apps/{app_id}/roles/{role_name}Auth

Delete a custom role

Path parameters

app_id*string

Id of the app.

role_name*string

Name of the role (e.g. `admin`).

Response · 204

Role deleted.

Example

Request

DELETE https://api.auth.productcraft.co/v1/apps/{app_id}/roles/{role_name}
Authorization: Bearer YOUR_TOKEN