TypeScript
const options = {method: 'DELETE'}; fetch('http://localhost:4005/v1/arc/organizations/:id', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": false, "error": { "code": "<string>", "message": "<string>", "details": {} }, "meta": { "requestId": "<string>", "timestamp": "<string>" } }
Soft-delete an organization (sets deletedAt timestamp). Requires owner or admin role.
Organization deleted successfully
Was this page helpful?