Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The id of the key.
Minimum length:
1
The permissions you want to set for this key. This overwrites all existing permissions.
Setting permissions requires the rbac.*.add_permission_to_key
permission.
Minimum length:
1
Example:
[
{ "id": "perm_123" },
{ "name": "dns.record.create" },
{
"name": "dns.record.delete",
"create": true
}
]