Environments

Delete an environment

DEL
Deletes a single environment

Path parameters

environmentIdstringRequired
ID of the environment to delete

Response

This endpoint returns an object
data
objectOptional

Errors

DEL
$curl -X DELETE https://api.x.flatfile.com/v1/environments/%3AenvironmentId \
> -H "X-Disable-Hooks: true" \
> -H "Authorization: Bearer <token>"
Response
1{
2 "data": {
3 "success": true
4 }
5}