Roles
Create A Role
Create a new role to use with Unkey
To use this function, your root key must have the rbac.*.create_role
Request
The unique name of your role.
Required string length: 3 - 256
Example: "dns.records.manager"
Explain what this role does. This is just for your team, your users will not see this.
Required string length: 3 - 256
Example:"dns.records.manager can read and write dns records for our domains."
Response
The id of the role. This is used internally
Example: "role_123"