vstats configuration: update
Update vStats service settings. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
Request:
HTTP request
PATCH https://{server}/api/stats/configuration
{
"log_level" : "NONE"
}
"log_level" : "NONE"
}
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | update_spec | vStats service settings to update. |
-.log_level | string | vStats log level. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. Optional. If unset the log level will remain unchanged. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if the system reports an error while responding to the request. |
400 | invalid_argument | if any of the specified parameters are invalid. |
401 | unauthenticated | if the user can not be authenticated. |
403 | unauthorized | if the user does not have sufficient privileges. |