Skip to main content
Call this API to delete a specified role by role ID.

API call description

  • Before calling this API, make sure that all employees associated with the role have had the role removed.
  • Roles under the default role group cannot be deleted.

Request

Query parameters

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error is returned when calling this API, refer to the Global error codes document to find the solution based on the error message.