Destroy
Delete a certain role.
Authorizations
Path parameters
namestring · min: 1 · max: 64RequiredExample:
Roles include built-in roles and custom roles.
Built-in roles roles cannot be modified.
Also, the names of built-in roles are reserved words,
custom roles are not allowed to use these names to avoid unnecessary confusion.
Built-in roles include:
SystemAdmin
: the system administrator has almost all permissions.Replicator
: the application permissions collection.Dealer
: the sales manager has all sold tenant resource permissionsAdmin
: the admin has all tenant-wide resource permissions.StandardUser
: the user all user-wide resource permissions.StandardInternationalUser
: the user all user-wide resource permissions with international call permissions.QueueManager
: The call queue manager.
User
Responses
204
No Content
4XX
Error
post
POST /api/roles/{name}/destroy HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content