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(optional):
string
Name of audit log action
-
callbackTLSCerts:
object callbackTLSCerts
-
callbackURL:
string
URL to callback
-
expires(optional):
string
Expiration of the subscription
-
type:
string
Allowed Values:
[ "auditlog" ]
Audit log event type to subscribe to -
userIdentity(optional):
string
Name of audit log userIdentity
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object
-
error(optional):
string
Default Value:Error message when the subscription fails
-
result(optional):
object result
-
returnCode:
string
Allowed Values:
[ "Success", "Failure" ]
Nested Schema : result
Type:
Show Source
object
-
subid:
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