Archive roles

Archives roles by the given IDs. If a role still has non-blocked employees assigned to it, the request for that role fails unless replacement_role_id is also provided, in which case those employees are reassigned to the replacement role before the role is archived.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
Responses

401

Unauthorized

403

Forbidden

500

Failed to archive roles

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json