capabilities.work

Revoke or tweak an admin API key

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

Get something done

Revoke or tweak an admin API key

Works with AI assistants

Use Flagsmith: its Flagsmith Organisations API lets you revoke or tweak an admin API key in a single step (PATCH /api/v1/organisations/{organisation_pk}/master-api-keys/{prefix}/). 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.

  • Can I mark a master API key as revoked without deleting it?
  • Is there a way to change just the expiry date on an admin key?
Say it to your AI assistant
  • Set revoked to {revoked} on master API key {prefix} in organisation {organisation_pk}.
  • Change only the expiry of admin key {prefix} in organisation {organisation_pk} to {expiry_date}.
For your developer

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