# Retry provisioning a custom domain

> Source: /api-reference/partner/explorer/custom-domains/retry
> Restarts provisioning for a domain that failed, for example after the owner corrected their DNS. Rate limited.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `POST /v1/partner/custom-domains/{externalId}/retry`

```json
{
  "description": "Restarts provisioning for a domain that failed, for example after the owner corrected their DNS. Rate limited.",
  "operationId": "customDomainsPartner_retry",
  "parameters": [
    {
      "description": "External custom domain id.",
      "in": "path",
      "name": "externalId",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerCustomDomainResponse"
          }
        }
      },
      "description": "The domain with its provisioning restarted."
    },
    "400": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "Request validation failed. `errors` lists the offending fields."
    },
    "401": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No usable credential. Send `Authorization: Bearer <jwt>` or `X-API-Key: jny_...`."
    },
    "403": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The credential authenticated but lacks the scopes in `x-required-scopes`, or the resource belongs to another organization."
    },
    "404": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No such resource, or it is outside the organization the credential resolves to."
    },
    "429": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "Rate limit exceeded."
    }
  },
  "security": [
    {
      "partnerBearer": []
    },
    {
      "partnerApiKey": []
    }
  ],
  "summary": "Retry provisioning a custom domain",
  "tags": [
    "partner/custom-domains"
  ],
  "x-required-scopes": [
    [
      "partner:custom-domains:manage"
    ]
  ]
}
```