---
title: "Update Workday"
method: PUT
path: "/workdays/{id}"
tags: ["Workday Import"]
---

# Update Workday

`PUT /workdays/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/workdays/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/workdays/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows you to update the name and Custom Report URL for a Workday Instance.

Currently, the name can not be changed from the default of `Workday Import`.

##### Sample Request
```
curl -X PUT https://console.jumpcloud.com/api/v2/workdays/{WorkdayID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
	"reportUrl":"{Report_URL}",
	"name":"{Name}"
}	'
```

## Headers

- `x-org-id` string

## Request body

- WorkdayFields
  - `name` string
  - `reportUrl` string

## Response `200`

- WorkdayOutput
  - `auth` object
    - `basic` AuthInfo
      - `expiry` string
      - `isValid` boolean
      - `message` string
    - `oauth` AuthInfo
      - `expiry` string
      - `isValid` boolean
      - `message` string
  - `id` string
  - `lastImport` string
  - `name` string
  - `reportUrl` string

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
