POST/api/v2/identities/{id}/credentials/audit
Any member · own dataAPI token
Record that the console copied a field or downloaded a file of credentials it already received from GET /identities/{id}/credentials. The reveal itself is recorded by that GET on the server. Event=reveal is no longer accepted.
Parameters
Path1 required of 1
idstringpathrequired
Identity ID (UUID)
Request body application/json · IdentityCredentialsAuditRequest
Audit event payload
Required1 of 4 fields
eventstringrequired
copydownloadOptional3 fields
fieldstring
Label of the credentials tab field that was copied or downloaded
UsernamePasswordNew passwordDSNNative DSNHTTP URLHTTPS URLAPI serverKubeconfigService accountNamespacetarget_idstring
credential_typestring
username_password kubeconfigResponses
204
No Content
Common errors: 400 401 403 404 409 413 429 503 504. They mean the same for every operation, see Errors.