Delete credentials used to access external services, such as Amazon Web Services (AWS).
Upon success, MarkLogic server returns status code 204 (no content. If the credentials do not exist, a status code of 400 (bad request) is returned. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-admin
and security
rolehttp://marklogic.com/xdmp/privileges/manage
http://marklogic.com/xdmp/privileges/manage-admin
http://marklogic.com/xdmp/privileges/credentials-set-aws
http://marklogic.com/xdmp/privileges/credentials-set-azure
curl -X DELETE --anyauth -u admin:admin -H "Content-Type:application/json" \ http://localhost:8002/manage/v2/credentials/properties?type=aws ==> Deletes credentials used to access Amazon Web Services (AWS).