API: Update a log
PUT /api/rest/v1/log/{log_id}
Update a log.
Security
Bearer Token Authentication (BearerAuth)
Headers
Key | Value | Description | Required |
---|---|---|---|
Authorization |
Bearer <token> |
The bearer token for authentication and access. |
Yes |
Path Parameters
Name |
In |
Type |
Required |
Description |
---|---|---|---|---|
|
path |
string |
Yes |
The ID of the log to update |
Request Body
Content-Type: application/json
Schema Definitions
Field |
Type |
Required |
Description |
---|---|---|---|
|
string |
No |
Name of the log |
|
array |
No |
List of custom attribute values (see schema) |
|
array |
No |
List of system attribute values (see schema) |
|
object |
Yes |
Application context (user/session info) |
AppContext
For the full structure, see API: Create single or multiple logs.
custom_attribute_values
For the full structure, see API: Create single or multiple logs.
system_attribute_values
For the full structure, see API: Create single or multiple logs.
Request body example
{ "name": "string", "custom_attribute_values": [ { "ca_config_id": 574, "section_ca_id": 1969, "value": "2025-05-22" } ], "system_attribute_values": [ { "values": { "additionalProp1": { "id": 3165, "sa_id": 1, "value": "<p>test desc</p>" }, "additionalProp2": { "id": 3165, "sa_id": 1, "value": "<p>test desc</p>" }, "additionalProp3": { "id": 3165, "sa_id": 1, "value": "<p>test desc</p>" } } } ], "app_context": [ { "container_id": 0, "container_source": "string", "container_type": "string" } ] }
Response
Status Code: 200 OK
Content-Type: application/json
Returns updated log.
Response example
{ "rest_modify_log": { "id": 0, "name": "string", "log_type": { "id": 18, "type_name": "Decision", "description": "NO", "is_published": false, "log_type_categories_id": 5, "allow_email_notification": true }, "custom_attribute_values": { "values": { "574": { "ca_config_id": 574, "section_ca_id": 1969, "value": { "id": "UUID", "label": "New 02", "value": "New 02" } } } }, "system_attribute_values": { "values": { "1": { "id": 3165, "sa_id": 1, "value": { "id": 1, "is_visible": true, "label": "New", "value": "New" } } } }, "created_at": "2025-06-20T09:53:57.385Z", "transferred_from": { "id": 123, "name": "User A", "planview_user_id": "uuid", "tenant_user_id": "tid", "email": "user@example.com", "avatar": "https://example.com/avatar.png" }, "transferred_to": [ { "id": 123, "name": "User A", "planview_user_id": "uuid", "tenant_user_id": "tid", "email": "user@example.com", "avatar": "https://example.com/avatar.png" } ] } } Schema Definitions { "rest_modify_log": { LogResponse } }
LogResponse Object
For the full structure, see API: Get Logs of a Workspace/Work.