Productive icon

Productive

Interact with the Productive API

Actions508

Time Tracking Policies → Update a time tracking policy

AI-generated

Summary

Update an existing time tracking policy by specifying its unique Name ID and providing a new policy name.

Inputs

  • Name ID (required) — The unique identifier (Name ID) of the time tracking policy to update.
  • Name (required) — The new name to assign to the time tracking policy.

Output shape

a single updated time tracking policy record in JSON format

The operation returns the updated policy object reflecting the changes. If the update fails, an error message is returned in the workflow response.

Examples

Example 1: Update the name of a time tracking policy with a given Name ID

Provide the existing time tracking policy's Name ID and the new desired Name.

Discussion