Set constructor logging settings
Set the logging settings for this constructor instance.
Path parameters
-
Identifier for the constructor
Body Required
The new logging settings for the constructor instance
-
Overridden logging levels. Keys are logging levels. Allowable values are OFF, ERROR, WARN, INFO, DEBUG, TRACE, ALL
PUT
/platform/infrastructure/constructors/{constructor_id}/logging_settings
curl \
-X PUT https://{{hostname}}/api/v1/platform/infrastructure/constructors/{constructor_id}/logging_settings \
-d '{"logging_levels":{"additionalProperty1":"string","additionalProperty2":"string"}}'
Request examples
{
"logging_levels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
Response examples (200)
# Headers
x-cloud-resource-version: string
x-cloud-resource-created: string
x-cloud-resource-last-modified: string
# Payload
{
"logging_levels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
Response examples (404)
# Headers
x-cloud-error-codes: constructors.logging_settings.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}