PUT /api/domainaudit/events
Modifies the domain audit events settings by updating the enable field of the events to be audited.
Refer to Domain Audit Events for the events description.
Refer to Domain Audit Settings for the category and events fields description.
Parameters
| events | mandatory | The events JSON body file. |
Response Codes
| Response Code | Description |
|---|---|
| 200 | The response contains the domain audit events configuration set. |
| 400 | The response contains the error details. |
Example Request and Response
PUT https://localhost:8090/api/domainaudit/events {events}
Refer to events.json for a complete list of the valid categories and the allowed events per category.
Note that only the enable field settings per event is allowed, no other field should be added. deleted or modified in any way.
HTTP 1.1 200 OK
{
"categories": [
...
{
"categoryName": "Organization events",
"events": [
{
"id": 300,
"desc": "Organization created",
"enabled": true
},
{
"id": 301,
"desc": "Organization updated",
"enabled": true
},
{
"id": 305,
"desc": "Organization disabled",
"enabled": true
},
{
"id": 306,
"desc": "Organization deleted",
"enabled": true
},
{
"id": 307,
"desc": "Organization registration token created",
"enabled": true
},
{
"id": 308,
"desc": "Organization registration token deleted",
"enabled": true
}
]
},
...
]
}