v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-015891,4406.1 MB

Immediately invalidate an ephemeral key

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

delete/v1/ephemeral_keys/{key}

Path parameters

keystring required

Response

Successful response.

createdinteger required

Time at which the object was created. Measured in seconds since the Unix epoch.

expiresinteger required

Time at which the key will expire. Measured in seconds since the Unix epoch.

idstring required

Unique identifier for the object.

livemodeboolean required

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

object'ephemeral_key' required

String representing the object's type. Objects of the same type share the same value.

secretstring

The key's secret. You can use this value to make authorized requests to the Stripe API.