Field | Type | Required | Description | Example |
---|---|---|---|---|
key_id |
str | ✔️ | The id of the key. | |
permissions |
List[models.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 } ] |