Enable Destination

Re-enables a turned-off destination so the forward proxy will use it again. Only ENABLED destinations are reachable. A request to a DISABLED host is rejected with 403 DESTINATION_NOT_ALLOWED. See the Destination Allowlist guide.

POST/pci-proxy/destinations/{id}/enable

Re-enables a disabled destination. Only ENABLED destinations are used by the forward path.

Header Parameters

X-Account-Codestring

Required if the destination was registered with an account_id: pass that same account_id. Without it, an account-scoped destination is treated as not found.

Path Parameters

idstringrequired

The id (UUID) of the destination to enable.

Response

The destination was enabled; the updated object is returned.

idstring<uuid>

Unique identifier of the destination. Use it to remove the destination.

account_idstring

The account this destination is scoped to, or null when it applies to the whole organization.

hostnamestring

The registered hostname.

status"ENABLED" | "DISABLED"

Whether the destination is active. Only ENABLED destinations are used by the forward path.

purposestring

The label you provided when registering the destination.

created_atstring<date-time>

When the destination was registered.

updated_atstring<date-time>

When the destination was last changed.

The id path parameter is not a valid UUID.

code"NOT_AUTHENTICATED" | "AuthenticationFail" | "INVALID_REQUEST" | "INVALID_HOSTNAME" | "INVALID_ACCOUNT_ID" | "DESTINATION_EXISTS" | "NOT_FOUND" | "INTERNAL_ERROR"

Machine-readable error code.

messagesstring[]

Authentication failed. Missing or invalid API credentials.

code"NOT_AUTHENTICATED" | "AuthenticationFail" | "INVALID_REQUEST" | "INVALID_HOSTNAME" | "INVALID_ACCOUNT_ID" | "DESTINATION_EXISTS" | "NOT_FOUND" | "INTERNAL_ERROR"

Machine-readable error code.

messagesstring[]

No destination with that id is registered for your scope.

code"NOT_AUTHENTICATED" | "AuthenticationFail" | "INVALID_REQUEST" | "INVALID_HOSTNAME" | "INVALID_ACCOUNT_ID" | "DESTINATION_EXISTS" | "NOT_FOUND" | "INTERNAL_ERROR"

Machine-readable error code.

messagesstring[]
Request
curl -X POST "https://api-sandbox.whitelabel.com/v1/pci-proxy/destinations/<id>/enable" \
  -H "X-Account-Code: <X-Account-Code>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "id": "d7e8f9a0-1234-4b5c-8d6e-7f8091a2b3c4",
  "account_id": null,
  "hostname": "api.example-processor.com",
  "status": "ENABLED",
  "purpose": "Direct acquiring — Processor X",
  "created_at": "2026-07-09T13:05:36Z",
  "updated_at": "2026-07-09T13:05:36Z"
}