Skip to main content
DELETE
/
v1
/
console
/
roles
/
{role_id}
Delete Role
curl --request DELETE \
  --url http://localhost:8000/v1/console/roles/{role_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "id": "<string>",
    "is_system_role": true,
    "name": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

role_id
string
required

Response

Successful Response

data
RoleResponse · object
message
string | null
success
boolean
default:true