v1

latestSwagger 2.02026-07-13242272.7 KB
Logs

Create a new log.

Required permission: logs_write

post/v3/logs

Request body

namestring required

Name of the new log.

colorstring

Color of the log. The color must be one of the following (green on unknown value or missing): green, lightgreen, lime, yellow, orange, deeporange, red, pink, purple, deeppurple, blue, lightblue

environmentNamestring

Environment name of the new log. Must match an environment name (case insensitive). If a matching environment name was not found or the property is not set, the log will appear under "Other" in the UI.

disabledboolean

Set to true to disable the log on creation. Defaults to false. A log can be enabled/disabled afterwards by calling the _disable and _enable endpoints.

Response

Log where successfully created.

locationstring uri

The location of the created log.