Skip to main content
PUT
/
schedule
/
v1
/
agreements
/
{agreementId}
Update an agreement
curl --request PUT \
  --url https://api-{region}.sesametime.com/schedule/v1/agreements/{agreementId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "code": "<string>",
  "color": "<string>",
  "annualHours": 123
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

API token obtained from Sesame HR Dashboard > Settings > Integrations > API

Path Parameters

agreementId
string<uuid>
required

Agreement UUID

Body

application/json

Data to update an agreement

name
string
required

Agreement name

code
string
required

Agreement code

color
string
required

Color of agreement

annualHours
number<int>
required

Annual hours

Response

200 - application/json

Agreement updated

id
string<uuid>