Create Audit Log¶
Create a record of audit logs.
Request Parameters (Header)¶
Name | Mandatory/Optional | Data Type | Description |
---|---|---|---|
Authorization | Optional | String |
|
Request Parameters (Query)¶
Name | Mandatory/Optional | Data Type | Description |
---|---|---|---|
orgId | Mandatory | String | OU ID. |
Request Parameters (Body)¶
Name | Mandatory/Optional | Data Type | Description |
---|---|---|---|
subjectId | Mandatory | String | The ID of the audit log subject, such as menu ID or application ID. The parameter value should be up to 64 characters. |
subjectType | Mandatory | String | The type of the audit log subject. The parameter value should be up to 64 characters. |
upstreamId | Optional | String | The ID of the upstream subject for the audit log subject. For example, the upstream subject of a menu is an application. The parameter value should be up to 64 characters. |
upstreamType | Optional | String | The type of the upstream subject for the audit log subject. The parameter value should be up to 64 characters. |
Error Codes¶
Error Code | Description |
---|---|
31400 |
|
31401 | The token is not valid. |
31404 | The OU does not exist. |