internal

Clone Role

Clone a role's permission grants into a new role in the target scope.

The clone is a fresh role (new role_id) carrying a copy of the source role's UserRoleToUserPermissions rows — users are not copied. Used to seed a company's own box from a General (global) role, or to copy a role between companies.

post/internal/roles/{role_id}/clone

Path parameters

role_idstring uuid required

Request body

target_company_idstring uuid nullable
new_role_namestring required
archetype'tprm_admin' | 'business_owner' | 'tprm_analyst' | 'sme' | 'view_only' | 'collateral_admin' | 'collateral_reviewer' | 'collateral_submitter' | 'policy_reviewer'

Closed, product-owned set of role identities. Stable machine keys — never renamed.

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.