ManagementAllowed originsAllowed origins merchant level

Delete an allowed origin

DELETE
/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}

Removes the allowed origin identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain.

To make this request, your API credential must have the following roles:

  • Management API—API credentials read and write

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

merchantId*string

The unique identifier of the merchant account.

apiCredentialId*string

Unique identifier of the API credential.

originId*string

Unique identifier of the allowed origin.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/merchants/string/apiCredentials/string/allowedOrigins/string"
Empty