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:
1The roles you want to set for this key. This overwrites all existing roles.
Setting roles requires the rbac.*.add_role_to_key permission.
Minimum length:
1Example:
[
{ "id": "role_123" },
{ "name": "dns.record.create" },
{
"name": "dns.record.delete",
"create": true
}
]