v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
Role Sets

Replace a role set

Replaces a role set with another role set. This is functionally equivalent to deleting the role set but allows for atomic replacement with migration support. Organizations using this role set will be migrated to the destination role set.

post/role_sets/{role_set_key_or_id}/replace

Path parameters

role_set_key_or_idstring required

The key or ID of the role set to replace

Request body

dest_role_set_keystring required

The key of the destination role set

reassignment_mappingsReassignmentMappings

Mappings from source role keys to destination role keys for role reassignment

Response

Deleted Object

objectstring required
idstring
slugstring
deletedboolean required
external_idstring