Organizations

Delete the active team organization, forfeiting its remaining credits, once none of its deployments is running

Changed on
delete/v1/organizations/{id}

Request

  • Base URL
    https://console-api-sandbox.akash.network
  • URL
    https://console-api-sandbox.akash.network/v1/organizations/{id}
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Query parameters

acknowledgedForfeitUsdnumber

The credits, in USD, the owner was shown and agreed to forfeit, compared to the cent; deleting is refused while the organization holds more, and the refusal reports the balanceUsd to send.

Example:12.5

Headers

x-organization-idstring

Id or slug of the organization the request runs in. Defaults to the organization used last, or the caller's personal one. Answers 403 organization_forbidden when the caller is not a member, and 400 organization_mismatch when it names another organization than the API key's.

x-project-idstring uuid

Id of a project of the active organization to limit the request to. Answers 403 project_forbidden when the caller cannot reach the project, or the API key is limited to another one.

Response

The organization was deleted

Changes