Delete a credential

A credential can only be deleted when it's not assigned to any entities

If the credential doesn't exist, this would return an error

It silently cleans up the associated secret after cred deletion

Example use-case:

  • Cleanup all assignments and then call cred delete
Language