cURL
curl --request DELETE \ --url http://localhost:3000/organizations/{orgId} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>", "statusCode": 123, "deletionScheduledAt": "2023-11-07T05:31:56Z" }
Marks an organization as deleted by setting the deleted_at field. Requires org admin access. Data is retained for compliance or export.
deleted_at
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response