Get Audit Logs and ID for Tenant (v2.0)
GET/v2.0/api/tenants/:tenant_id/auditlog/:auditlog_id
List the audit logs for given tenant and audit log ID.
Request
Path Parameters
The tenant ID.
The audit log ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The audit log MSP tenant ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log ID.
The audit log operator ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log tenant ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log request body.
The request content length.
The audit log request ID.
Request Ts
The audit log request type (GET|POST|PUT|DELETE|PATCH)$).
The audit log request URL.
The audit log request Etag.
The audit log resource ID. Max length = 50.
The audit log resource key. Max length = 128.
The audit log resource version.
The audit log response body.
Response Code
The audit log response content length.
Response Ts
The audit log session key C. Max length = 128.
The audit log source IP address. Max length = 128.
The tenant ID.
Time Ms
{
"esp_tenant_id": "string",
"id": "string",
"operator_id": "string",
"operator_tenant_id": "string",
"request_body": "string",
"request_content_length": 0,
"request_id": "string",
"request_ts": 0,
"request_type": "string",
"request_uri": "string",
"resource_etag": 0,
"resource_id": "string",
"resource_key": "string",
"resource_version": "string",
"response_body": "string",
"response_code": 0,
"response_content_length": 0,
"response_ts": 0,
"session_key_c": "string",
"source_ip": "string",
"tenant_id": "string",
"time_ms": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "AUDITLOG_INVALID_TENANT_ID"
},
{
"code": "AUDITLOG_MESSAGE_ID_EMPTY"
},
{
"code": "AUDITLOG_MESSAGE_ID_INVALID"
}
]
}
}