Subscribe to an Audit Log Event
post
/restproxy/api/v2/auditlog/event-subscriptions
Subscribe to an audit log event.
Request
Supported Media Types
- application/json
Request to subscribe to an audit log event
Root Schema : AuditLogEventSubscription
Type:
Show Source
object
-
action:
string
Name of audit log action
-
callbackTLSCerts(required):
object callbackTLSCerts
-
callbackURL(required):
string
URL to callback
-
expires:
string
Expiration of the subscription
-
type(required):
string
Allowed Values:
[ "auditlog" ]
Audit log event type to subscribe to -
userIdentity:
string
Name of audit log userIdentity
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object
-
error:
string
Default Value:Error message when the subscription fails
-
result:
object result
-
returnCode(required):
string
Allowed Values:
[ "Success", "Failure" ]
Nested Schema : result
Type:
Show Source
object
-
subid(required):
string
ID of the subscription when successful
400 Response
Bad Request
401 Response
Not authorized
403 Response
Forbidden
404 Response
Invalid parameters
500 Response
Service unavailable