Access
Preview

Cancel the closing of the organization

Lifts the restriction and keeps the organization. Allowed only before its data is deleted: once the thirty days are

POST
/organization/closure/cancel
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The cancelled closing.

application/json
  1. response
closedAt*string
Formatdate-time
deleteAt*string

When the organization's data is deleted if the closing is not cancelled first.

Formatdate-time
cancelledAt?string
Formatdate-time
state*OrganizationClosureState
Value in"closing""cancelled""deleted"
Example Request
curl -X POST 'https://wardn.example.com/api/v1/organization/closure/cancel'
Example Response
{  "closedAt": "2019-08-24T14:15:22Z",  "deleteAt": "2019-08-24T14:15:22Z",  "cancelledAt": "2019-08-24T14:15:22Z",  "state": "closing"}