Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Docs
API referenceLogs, drains and alerts

Rename or update a log view

PUT
/v1/logs/views/{id}

Rename a view or change its query, columns or sharing. You can change your own views; owners and admins can also change shared ones.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^lv_[a-z0-9]{8,32}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/logs/views/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "query": "string",  "columns": {    "property1": true,    "property2": true  },  "shared": true,  "owned": true,  "created_at": "string",  "updated_at": "string"}