---
updatedAt: 2026-04-27T16:09:54.000Z
agentTools:
  projectIndex: https://developer.deputy.com/llms.txt
---

# Update employee agreement by given Id

Update employee agreement by given Id.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Deputy V2 API",
    "version": "1.0",
    "description": "\n\nFiltered to publicly-authenticated routes only (APIAuthenticator). Scoped-OAuth routes and internal JWT routes are excluded — see the separate \"Deputy V2 Scoped API\" spec for scoped endpoints."
  },
  "servers": [
    {
      "url": "https://{subdomain}.{region}.deputy.com/api",
      "description": "Deputy tenant",
      "variables": {
        "subdomain": {
          "default": "your-subdomain",
          "description": "Your Deputy tenant subdomain"
        },
        "region": {
          "default": "deputy",
          "enum": [
            "au",
            "eu",
            "na",
            "deputy"
          ],
          "description": "Deputy region: au, eu, na, or deputy (AU default)"
        }
      }
    }
  ],
  "components": {
    "schemas": {
      "EmployeeAgreementUpdateResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/v2modelEmployeeAgreement"
          }
        },
        "title": "Update an employee agreement response"
      },
      "v2modelEmployeeAgreement": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "title": "Employee agreement ID"
          },
          "employeeId": {
            "type": "integer",
            "format": "int32",
            "title": "Employee ID"
          },
          "payPointId": {
            "type": "integer",
            "format": "int32",
            "title": "Location ID which acts as the pay point"
          },
          "isActive": {
            "type": "boolean",
            "title": "Is employment agreement is currently active"
          },
          "startAt": {
            "type": "string",
            "title": "Start date of employment agreement"
          },
          "endAt": {
            "type": "string",
            "title": "End date of employment agreement"
          },
          "employmentContractId": {
            "type": "integer",
            "format": "int32",
            "title": "Employment contract ID"
          },
          "payRuleId": {
            "type": "integer",
            "format": "int32",
            "title": "Pay rule ID"
          },
          "payPeriodId": {
            "type": "integer",
            "format": "int32",
            "title": "Pay period ID"
          },
          "employeeAgreementHistoryId": {
            "type": "integer",
            "format": "int32",
            "title": "Employee history ID"
          },
          "createdById": {
            "type": "integer",
            "format": "int32",
            "title": "Employee ID who created the employee agreement"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "title": "Timestamp of when the employee agreement was created"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time",
            "title": "Timestamp of when the employee agreement was last modified"
          },
          "payCalendarId": {
            "type": "integer",
            "format": "int32",
            "title": "Pay calendar ID"
          },
          "effectiveDate": {
            "type": "string",
            "title": "Effective date of the employee agreement"
          }
        },
        "title": "Employee Agreement"
      }
    },
    "securitySchemes": {
      "ApiToken": {
        "type": "apiKey",
        "in": "header",
        "name": "OAuth"
      }
    }
  },
  "paths": {
    "/management/v2/employee-agreements/{id}": {
      "put": {
        "summary": "Update employee agreement by given Id",
        "operationId": "EmployeeAgreementV2Controller_update",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmployeeAgreementUpdateResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "tags": [
          "Employee Agreement"
        ],
        "description": "Update employee agreement by given Id."
      }
    }
  },
  "security": [
    {
      "ApiToken": []
    }
  ]
}
```