api_credentials
Updates an API credential
Updates an API credential
patch/api_credentials/{apiCredentialId}
Request
- Base URLhttps://provisioning.commercelayer.io
- URLhttps://provisioning.commercelayer.io/api_credentials/{apiCredentialId}
- AuthHTTP bearer
Path parameters
apiCredentialIdstring required
The ID of the resource.
Request body
Example request
{
"data": {
"id": "XGZwpOSrWL",
"attributes": {
"name": "My app",
"redirect_uri": "https://bluebrand.com/img/logo.svg",
"expires_in": 7200,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
},
"relationships": {
"role": {
"data": {
"id": "XGZwpOSrWL"
}
}
}
}
}Response
The updated API credential object
Changes
No recorded changes to this operation across all 1 revision of this API.