Custom domains
Delete a Blob Custom Domain
Removes a custom domain from blob storage. The response is null.
DELETE
Delete a Blob Custom Domain
Removes a custom domain, so its hostname stops serving the account’s files. The files themselves are not deleted. The response is
null in the response field.
Scope: blob:write.
The workspace ID, when the blob belongs to a workspace. The call acts on the blob of the workspace owner and needs the
blob:read workspace permission (blob:manage on routes that change data). Leave it out to act on your own blob.Example request
Response
Empty on success.Error Responses
The error code indicating the reason for failure. Possible values:
AUTH_TOKEN_MISSING(401): NoAuthorizationheader was sent.API_KEY_INVALID(401): The API key doesn’t exist, was revoked, or its secret doesn’t match.API_KEY_SCOPE_DENIED(403): The key lacks the scope this route needs (blob:readorblob:write);details.requirednames it.WORKSPACE_PERMISSION_DENIED(403): Only withworkspace_id: you’re a member, but your role lacks the blob permission.WORKSPACE_NOT_FOUND(404): Only withworkspace_id: the workspace was not found.BLOB_CUSTOM_DOMAIN_NOT_FOUND(404): No domain with that ID in this account.
Last modified on November 20, 2026