Skip to main content
PUT
/
contract
/
v1
/
workday-types
/
{workdayTypeId}
Update a workday type
curl --request PUT \
  --url https://api-{region}.sesametime.com/contract/v1/workday-types/{workdayTypeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "2023-12-25"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "editable": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workdayTypeId
string<uuid>
required

Workday Type ID

Body

application/json

Workday type object that needs to be updated

name
string<date>
required

Name of the workday type

Response

200 - application/json

Workday Type

data
object