Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 3.53 KB

setpermissionsrequestbody.md

File metadata and controls

9 lines (6 loc) · 3.53 KB

SetPermissionsRequestBody

Fields

Field Type Required Description Example
KeyID string ✔️ The id of the key.
Permissions []operations.SetPermissionsPermissions ✔️ The permissions you want to set for this key. This overwrites all existing permissions.
Setting permissions requires the rbac.*.add_permission_to_key permission.
[
{
"id": "perm_123"
},
{
"name": "dns.record.create"
},
{
"name": "dns.record.delete",
"create": true
}
]