capabilities.work

Add roles to an API key

One step with Unkey. We can help you get access.

Get something done

Add roles to an API key

Use Unkey: its Unkey Keys API lets you add roles to an API key in a single step (POST /v2/keys.addRoles). capabilities.work can help you get signed up and connected.

  • How do I attach a role to an existing key?
  • Can I give a key a new role without changing its direct permissions?
Say it to your AI assistant
  • Add roles {roles} to key {keyId}.
  • Attach role {roles} to key {keyId} for a feature set.
For your developer

POST /v2/keys.addRoles in Unkey Keys API. Full spec on APIs.io.