curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/roles/bulk_delete \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"workspace_role_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'Bulk delete user workspace roles. Required permission: write:workspace_role
curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/roles/bulk_delete \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"workspace_role_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'Documentation Index
Fetch the complete documentation index at: https://docs.shareofmodel.ai/llms.txt
Use this file to discover all available pages before exploring further.
A UUID string identifying the organization.
A UUID string identifying the workspace.
UserWorkspaceRoles deleted successfully.