capabilities.work

List roles attached to an admin API key

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

Look something up

List roles attached to an admin API key

Works with AI assistants

Use Flagsmith: its Flagsmith Organisations API lets you list roles attached to an admin API key in a single step (GET /api/v1/organisations/{organisation_pk}/master-api-keys/{api_key_prefix}/roles/). Flagsmith also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What roles govern what a particular master API key can do?
  • Which roles are assigned to the key with a given prefix?
Say it to your AI assistant
  • List roles for master API key {api_key_prefix} in organisation {organisation_pk}.
  • Show the roles on admin key {api_key_prefix} of organisation {organisation_pk}.
For your developer

GET /api/v1/organisations/{organisation_pk}/master-api-keys/{api_key_prefix}/roles/ in Flagsmith Organisations API. Full spec on APIs.io.