Skip to main content
DELETE
Delete an environment
Requires an Account API key. Create one from Account API keys in the dashboard.
Deletes an environment. environmentId is the numeric ID returned when the environment was created. The reserved prod environment cannot be deleted.

Authorizations

Authorization
string
header
required

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

Path Parameters

environmentId
integer
required

Numeric environment ID returned when the environment was created.

Required range: x >= 1

Response

Successfully deleted the environment