API credentials - company level
Update an API credential.
Changes the API credential's roles, merchant account access, 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/companies/{companyId}/apiCredentials/{apiCredentialId}
Path parameters
companyIdstring required
The unique identifier of the company account.
apiCredentialIdstring required
Unique identifier of the API credential.
Request body
Response
OK - the request has succeeded.
Example response
{
"allowedOrigins": [
{
"domain": "https://adyen.com"
}
]
}