Skip to main content

resetRoleToTemplate

Reset a role back to its originating template's grant matrix. Custom roles re-seed from their recorded preset; system roles just have their overrides cleared. Gated by accord.workspace.member.update.

resetRoleToTemplate(
input: ResetRoleToTemplateInput!
): ResetRoleToTemplatePayload

Arguments

resetRoleToTemplate.input ● ResetRoleToTemplateInput! non-null input

The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.

Type

ResetRoleToTemplatePayload object