API credentials - company level
Update an API credential.
Changed onChanges 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}
Request
- Base URLhttps://management-test.adyen.com/v3
- URLhttps://management-test.adyen.com/v3/companies/{companyId}/apiCredentials/{apiCredentialId}
- Auth
- HTTP basic
- or API key in header X-API-Key
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"
}
]
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info