Delete a registry's credential
DELETE/registry-credentials/:registry
Required role: admin. Only an account or token with the admin role can call this operation.
Example request
curl --request DELETE \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/registry-credentials/{registry}"
Deletes the credential saved for this registry; the update check asks it anonymously again. A registry with none is 404 registry_credential_not_found.
Request
Responses
- 204
- default
The credential was deleted.
An error response.