Median

DELETE /site/domain

Updated Oct 1, 20261 minute read

Remove the custom domain

The site goes back to its median.website address. Admins and owners only.

Part of Site.

Responses

StatusDescription
200domain is null.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
domainobject | nullNo

Example request

curl -X DELETE https://api.median.sh/v1/site/domain \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc