Docs
Account, keys and webhooks ›

Reopen account

POST/v1/me/reopen

Open a closed account again.

Requestcurl
  1. curl -X POST https://agental.io/v1/me/reopen \
  2. -H "Authorization: Bearer $AGENTAL_API_KEY"
Answer204 No Content

No body: the status says it was done.

The account is open again, with its sandboxes as they were left.

Headers

Authorizationrequired
Bearer key
An API key that may make this call.

Returns

204 The account is open again, with its sandboxes as they were left. Its plan, API keys and mail are not brought back.

Errors and other answers

403session_required an API key cannot do this. A person signed in can, from Settings in the console.
409 account_not_closed.

Every error answers { "error": { "code", "message" } }; a key without the action a call needs answers 403 key_action_forbidden, naming it.