# DELETE /api/v1/domains/:id/setup-link

Auth: Bearer

HTML: https://cooperemail.com/docs/reference/domain-setup-link-delete

## Summary

Revoke the current setup link for this domain. HTTP 204. Calling it again is HTTP 204. Another account's id is 404 domain_not_found. The public page then says the link has expired or was revoked and does not show the hostname.

## Request

This call has no JSON body.

## Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

## Errors

- HTTP 404 domain_not_found

The live `message` is the sentence for that code. Branch on `code`.

```json
{
  "error": {
    "type": "not_found",
    "code": "domain_not_found",
    "docs_url": "https://cooperemail.com/docs#domain_not_found"
  }
}
```

## Idempotency

This route does not document Idempotency-Key or client_id.
