API example on Step 10 in "Rotating client secrets programmatically" uses the wrong method. POST should be updated to DELETE
Currently the code sample is:
curl -X POST 'https://api.adobe.io/console/organizations/{orgId}/credentials/{credentialId}/secrets/{uuid from step 9}' \
-H 'Authorization: Bearer {ACCESS TOKEN GENERATED IN STEP 5}'
-H 'x-api-key: {CLIENT ID FROM STEP 6}'`
However, it should be:
curl -X DELETE 'https://api.adobe.io/console/organizations/{orgId}/credentials/{credentialId}/secrets/{uuid from step 9}' \
-H 'Authorization: Bearer {ACCESS TOKEN GENERATED IN STEP 5}'
-H 'x-api-key: {CLIENT ID FROM STEP 6}'
API example on Step 10 in "Rotating client secrets programmatically" uses the wrong method. POST should be updated to DELETE Currently the code sample is:
However, it should be: