Skip to content

Revoke a key

DELETEhttps://sandbox-api.tryflume.ai/partner/v1/keys/{key_id}

Revokes a partner key at once.

  • You cannot revoke your only working key. Rotate first.

Guide: Rotate keys

Request

Headers

HeaderRequiredDescription
X-Flume-Partner-KeyYesYour partner key. See Authentication and keys.

Path parameters

ParameterTypeDescription
key_idstringThe key to revoke, from GET /keys.

This call takes no body.

Returns

204 with no body.

Errors

Every error uses one envelope. Branch on error.code.

StatusCodeMeaning
401EMBED_TOKEN_INVALIDYou sent an Authorization header and no X-Flume-Partner-Key. Flume read the call as one from its own iframe.
401PARTNER_KEY_INVALIDThe partner key is missing, unknown, revoked, expired, or from the other environment. On live, also a platform Flume has not enabled yet.
404NOT_FOUNDThe thing does not exist, or is not this user's. A search id that is not a UUID also returns this code.
409LAST_ACTIVE_KEYThis is your only working key.
422VALIDATION_FAILEDA field is missing, unknown or has an unusable value. field names it as a dotted path. Some refusals carry the detail in details and leave field empty.
500INTERNALSomething failed on Flume's side.