Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API ReferenceAccount and accessOrganizations

Soft-delete an organization (owner only)

Owner-only soft-delete: members lose access and the org's remaining workloads are stopped. Support can restore the org, but not its Kubernetes clusters. Every cluster is deleted with the org, its workloads and data removed without a drain. 409 while any VM other than a Kubernetes cluster's worker is active, or the balance is not zero.

Required permission

Requires the org.delete permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl organizations delete
DELETE
/v1/orgs/{orgId}

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

orgId*string

Response Body

Deleted

Example Request
curl -X DELETE 'https://api.openrelay.inc/v1/orgs/string'
Example Response
Empty