Add an allowed origin for the API credential
POST {{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins
Adds a new allowed origin to the API credential's list of allowed origins. To make this request, your API credential must have the following roles: * Management API—API credentials read and write
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"id": "YOUR_ALLOWED_ORIGIN",
"domain": "https://www.eu.mystore.com",
"_links": {
"self": {
"href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN"
}
}
} |
ENDPOINTS