Approval Policy

Archives the approval policy

Changed on

Archive an approval policy.

patch/api/v2/approval_policies/{id}/archive

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/approval_policies/{id}/archive
  • Auth
    none declared

Path parameters

idstring required

The ID of the approval policy to archive.

Response

Single approval policy

Example response

{
  "data": {
    "id": "7",
    "type": "approval_policies",
    "attributes": {
      "name": "Time Entry Approval",
      "policy_type": "time_entry",
      "created_at": "2026-01-01T00:00:00.000+00:00"
    },
    "relationships": {}
  },
  "included": []
}

Changes

    • warning

      added the new project_already_exported enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status