API credentials - merchant level
Update an API credential
Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request.
To make this request, your API credential must have the following roles:
- Management API—API credentials read and write
patch/merchants/{merchantId}/apiCredentials/{apiCredentialId}
Path parameters
merchantIdstring required
The unique identifier of the merchant account.
apiCredentialIdstring required
Unique identifier of the API credential.
Request body
Response
OK - the request has succeeded.
Example response
{
"allowedOrigins": [
{
"domain": "https://adyen.com"
}
]
}