Remove Roles from Taxonomy
Remove role assignments from a taxonomy.
Endpoint
DELETE /v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/rolesRequest
curl -X DELETE \
'https://api.sharely.ai/v1/workspaces/{workspaceId}/taxonomy/{taxonomyId}/roles' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'organizationid: your-organization-id' \
-d '{
"roleIds": ["role-uuid-1", "role-uuid-2"]
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
roleIds | array of UUIDs | Yes | Array of role UUIDs to remove |
Response
{
"success": true,
"removedCount": 2
}