capabilities.work

Replace an admin API key's settings

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

Get something done

Replace an admin API key's settings

Works with AI assistants

Use Flagsmith: its Flagsmith Organisations API lets you replace an admin API key's settings in a single step (PUT /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 overwrite all the settings of a master API key in one call?
  • What request fully replaces an admin key's name, expiry and admin flag?
Say it to your AI assistant
  • Fully update master API key {prefix} in organisation {organisation_pk} with name {name}.
  • Replace admin key {prefix} of organisation {organisation_pk}, setting expiry {expiry_date} and is_admin {is_admin}.
For your developer

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