Organizations
Delete the current workspace
Starts an owner-authorized durable workspace deletion operation, confirming the workspace name in the request.
Starts an owner-authorized durable workspace deletion operation, confirming the workspace name in the request. Repeating the same request with the same Idempotency-Key returns the existing organization-scoped operation.
Authorization
apiKey x-api-key<token>
In: header
Header Parameters
idempotency-key*string
Length
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
confirmationName*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/organizations/deletion-operations" \ -H "idempotency-key: string" \ -H "Content-Type: application/json" \ -d '{ "confirmationName": "string" }'{ "operation": { "id": "string", "organizationId": "string", "kind": "email-domain-provisioning", "subject": { "type": "string", "id": "string" }, "actor": { "type": "user", "id": "string" }, "status": "pending", "phase": "accepted", "error": { "code": "validation-failed", "message": "string" }, "createdAt": "string", "updatedAt": "string", "startedAt": "string", "completedAt": "string" }, "links": { "self": "string", "resource": { "resource": { "type": "string", "id": "string" }, "href": "string" } }}