Skip to main content
Planview Customer Success Center

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

log_id

path

string

Yes

The ID of the log to update

Request Body

Content-Type: application/json

Schema Definitions

Field

Type

Required

Description

name

string

No

Name of the log

custom_attribute_values

array

No

List of custom attribute values (see schema)

system_attribute_values

array

No

List of system attribute values (see schema)

app_context

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": [
      {
        "value": {
          "id": 1,
          "is_visible": true,
          "label": "New",
          "value": "New"
        },
        "sa_id": 2,
        "id": 73
      },
      {
        "value": 2,
        "sa_id": 7,
        "id": 78
      },
      {
        "value": 2,
        "sa_id": 6,
        "id": 77
      },
      {
        "value": "2025-07-01",
        "sa_id": 5,
        "id": 76
      },
      {
        "value": "<p>ac</p>",
        "sa_id": 1,
        "id": 72
      }
  ],
  "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",
    "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": {
            "72": {
                "id": 72,
                "sa_id": 1,
                "value": "<p>ac</p>"
            },
            "73": {
                "id": 73,
                "sa_id": 2,
                "value": {
                    "id": 1,
                    "is_visible": true,
                    "label": "New",
                    "value": "New"
                }
            },
            "76": {
                "id": 76,
                "sa_id": 5,
                "value": "2025-07-01"
            },
            "77": {
                "id": 77,
                "sa_id": 6,
                "value": 2
            },
            "78": {
                "id": 78,
                "sa_id": 7,
                "value": 2
            }
        }
        }
  }
}
LogResponse Object

For the full structure, see API: Get Logs of a Workspace/Work.