Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 5.02 KB

setrolesroles.md

File metadata and controls

10 lines (7 loc) · 5.02 KB

SetRolesRoles

Fields

Field Type Required Description
ID *string The id of the role. Provide either id or name. If both are provided id is used.
Name *string Identify the role via its name. Provide either id or name. If both are provided id is used.
Create *bool Set to true to automatically create the permissions they do not exist yet. Only works when specifying name.
Autocreating roles requires your root key to have the rbac.*.create_role permission, otherwise the request will get rejected