SendlySendly
API ReferenceDomains

Remove a sending domain's sender logo

DELETE
/api/v1/domains/{id}/logo

Remove the uploaded logo, so the URL serves the default again. Answers the logo now served rather than a tombstone, and removing a logo that was never uploaded is not an error. The DNS record does not change.

Requires the domains:write scope — Add and remove sending domains, and trigger verification.

Authorization

AuthorizationBearer <token>

API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.

In: header

Path Parameters

id*string

Resource id.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/api/v1/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08/logo"
{
  "domain_id": "b2f7354f-b74d-4332-ab10-1a5e3c56466c",
  "source": "uploaded",
  "url": "http://example.com",
  "serving": true,
  "svg": "string",
  "sha256": "string",
  "size_bytes": 0,
  "updated_at": "2019-08-24T14:15:22Z",
  "bimi_record": {
    "type": "TXT",
    "name": "string",
    "value": "string"
  },
  "readiness": {
    "dmarc": {
      "status": "enforced",
      "policy": "string",
      "pct": 0,
      "found_at": "string"
    },
    "bimi_record": {
      "status": "published",
      "found_at": "string",
      "location": "string"
    }
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ]
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ]
}