Skip to main content
DELETE
/
organizations
/
roles
/
{role_id}
Delete Role
curl --request DELETE \
  --url https://api-sandbox.y.uno/v1/organizations/roles/{role_id} \
  --header 'PRIVATE-SECRET-KEY: <api-key>' \
  --header 'PUBLIC-API-KEY: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.y.uno/llms.txt

Use this file to discover all available pages before exploring further.

Delete a custom role. Users assigned to the deleted role will be automatically reassigned to the ReadOnly role.

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Path Parameters

role_id
string
required

The unique identifier of the role to delete.

Response

204

No Content - Successfully deleted