Reference / Settings

remove a domain. Emits `custom_domain.removed`.

DELETE /v1/applications/{id}/domains/{domain_id}
Secret API key operationId: delete

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Path parameters

  • id string<uuid> required

    Application id

  • domain_id string<uuid> required

    Custom-domain id

Responses

200 Removed
{
  "data": {
    "deleted": false
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
404 Unknown domain

Request

curl -X DELETE "http://localhost:8080/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/domains/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f" \

Try it

live request
DELETE http://localhost:8080/v1/applications/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/domains/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f

Path parameters