Delete Permission
This API deletes an existing permission set identified by its unique ID. Once deleted, the permission set can no longer be used within the system.
Endpoint Details
| URL | /v1/auth/permissions/id |
| Method | DELETE |
| Authorization | Bearer Token |
Request Headers
| Header | Type | Description |
|---|---|---|
| Content-Type | String | Must be application/json |
Request Path
To delete a specific permission set, use the following request format:
/v1/auth/permissions/c8e49db8-f776-40b7-963f-7420e0a7b61a
Path Parameter
| Parameter | Type | Description |
|---|---|---|
| id | UUID | Unique identifier of the permission set to delete |
Response
Here is an example response after the request has been successfully processed:
Response
{
"success": true
}
Field Descriptions
| Field | Type | Description |
|---|---|---|
| success | Boolean | Indicates whether the permission set was successfully deleted |
info
- A valid Bearer Token is required to access this endpoint.
- The
idpath parameter must reference an existing permission set. - Deleting a permission set is permanent and cannot be undone.