Reset Log Level to Default
This API resets the logger category level to its default state.
URL: [PortalFQDN]/api/v1/system/logcategories/reset
Method: PUT
Success response
{
"version":"1",
"status":"success",
"data":null
}
Error responses
This API does not require any Request body or path variable, therefore 400. HttpStatus.BAD_REQUEST will not occur in this API.
Error response parameters
Field |
Parent |
Data type |
Mandatory |
Description |
---|---|---|---|---|
version |
|
String |
Y |
Defines the version of the API. |
status |
|
String |
Y |
Defines the response status. For an Error response, the value will be “failure”. |
error |
Parent |
Object |
Y |
The element that encapsulates the API error details. |
code |
|
Integer |
Y |
The Error code for the error. |
message |
|
Text |
Y |
Describes the error. |
errors |
|
List |
N |
The list of errors in case of request validation failure. Its value will be null for all the error scenarios other than request validation failure. |
HTTP status codes, error codes, messages, and error messages
Error responses will be handled the same way as the REST LOGIN API described previously.
HTTP response code |
Error code |
Error message |
Scenario |
---|---|---|---|
401 |
|
|
Unauthorized user if anybody other than Super admin tries to access. |
500 |
101004 |
Internal server error |
Could occur due to any unhandled exception scenario. |