Skip to main content
DELETE
Delete an environment API key
Requires an Account API key. Create one from Account API keys in the dashboard.
Deletes an Environment API key. environment_id is the numeric ID returned when the environment was created. key_id is the numeric ID returned when the key was created.

Authorizations

Authorization
string
header
required

An Environment API key from your Nango environment, or an Account API key for account-level endpoints.

Body

application/json
environment_id
integer
required

Numeric environment ID that owns the key.

Required range: x >= 1
Example:

123

key_id
integer
required

Numeric key ID returned when the key was created.

Required range: x >= 1
Example:

456

Response

Successfully deleted the Environment API key

success
boolean
required
Example:

true