This URL gets the CLI auditing configuration at the domain level.
Resource URL
GET /domain/<domainId>/cliauditing
Request Parameters
URL Parameters:
| Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| domainId | Domain id | Number | Yes |
Response Parameters
Following fields are returned.
| Field Name | Description | Data Type |
|---|---|---|
| inheritSettings | Inherit settings from parent domain | Boolean |
| enable | CLI auditing enabled or not | Boolean |
Example
Request
GET https://<NSM_IP>/sdkapi/domain/0/cliauditing
Response
{
"inheritSettings": false,
"enable": true
}
Error Information
Following error code is returned by this URL:
| No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
| 1 | 404 | 1105 | Invalid domain |