Detach from Domain

Detaches a Worker from a zone and hostname.

/accounts/{account_identifier}/workers/domains/{domain_identifier}

delete

Worker Domain

worker-domain-detach-from-domain

Debug "planAvailability"

null

Debug "tokenPermissions"

{
  "enum": [
    "com.cloudflare.edge.worker.domain.delete"
  ]
}

Debug "parameters"

[
  {
    "in": "path",
    "name": "domain_identifier",
    "required": true,
    "schema": {
      "description": "Identifer of the Worker Domain.",
      "example": "dbe10b4bc17c295377eabd600e1787fd"
    }
  },
  {
    "in": "path",
    "name": "account_identifier",
    "required": true,
    "schema": {
      "example": "9a7806061c88ada191ed06f989cc3dac"
    }
  }
]

Debug "requestBody"

{
  "content": {
    "application/json": {}
  },
  "required": true
}

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {}
    },
    "description": "Detach from Domain response"
  },
  "4XX": {
    "content": {
      "application/json": {}
    },
    "description": "Detach from Domain response failure"
  }
}

Debug "security"

[
  {
    "api_token": []
  },
  {
    "api_email": [],
    "api_key": []
  }
]