Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Immediately invalidate an ephemeral key


Immediately invalidate an ephemeral key

DELETE / v1 / ephemeral_keys /:id

Invalidates a short-lived API key for a given resource.

Parameters

No parameters.

Returns

Returns the key object.

Response

{ "id": "ephkey_1Mr6PhLkdIwHu7ix9Al0eucz", "object": "ephemeral_key", "associated_objects": [ { "type": "customer", "id": "cus_NcCEBjJZgYGgljz" } ], "created": 1680226347, "expires": 1680229947, "livemode": false}
Last verified 2026-09-24

Is this helpful?