/2016-07/accounts/:id

Close an account

When successful, this endpoint returns the account associated with the account id used in the path parameters. It returns the same information as the /2016-07/accounts endpoint id successful. While accounts are marked as closed immediately, it will take some time for the system to purge the account completely. As such, other endpoints may continue to return data for a couple of days. The key/values of the account object are detailed below.

account object key

Description

id

The account id associated with specified account

name

The account name

slug

The account slug (short name)

If a user has not removed all deployments and sandbox databases associated with the account, then a 402 status code will be returned indicating that that needs to be done to finalize the billing for the account before the account can be deleted.

Language
Authentication
Header
Click Try It! to start a request and see the response here!