Delete Registry Credentials
DELETE
/registry/credentials
const url = 'https://api.mengi.cloud/registry/credentials';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.mengi.cloud/registry/credentialsRevoke and delete registry credentials.
This will:
- Revoke the robot account in Harbor
- Mark the credential as inactive
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example