---
title: "PATCH /resource/{resourceId}"
method: PATCH
path: "/resource/{resourceId}"
tags: ["updateResource"]
---

# PATCH /resource/{resourceId}

`PATCH /resource/{resourceId}`

Change properties of resources.

## Path parameters

- `resourceId` string, required

## Query parameters

- `lockToken` string

## Headers

- `cookie` string
- `If-Match` string

## Request body

- ResourceUpdateModel
  - `update` object
    - `ui:fs` Uifs
      - `creationMillis` integer
      - `childrenSize` integer
      - `metaETag` string
      - `lastResourceOperation` string
      - `resourceURI` string
      - `version` integer
      - `lastResourceOperationClient` string
      - `size` integer
      - `children` Children[]
        - `ui:fs` Uifs — recursive
        - `ui:win32` UiWin32
          - `readOnly` boolean
          - `hidden` boolean
          - `system` boolean
          - `creationMillis` integer
          - `lastModificationMillis` integer
          - `lastAccessMillis` integer
        - `ui:share` UiShareModel
          - `share` ShareModel[]
            - `ownerName` string
            - `name` string
            - `expirationMillis` integer
            - `resourcePermission` SharePermission
              - …
            - `hasPin` boolean
      - `name` string
      - `modificationMillis` integer
      - `childrenCount` integer
      - `resourceType` string
      - `cdash64` string
      - `referenceId` string
      - `storeId` string
      - `guestModificationMillis` integer
      - `originalParents` Uifs[]
      - `contentETag` string
      - `parents` Uifs[]
      - `UiMetaResource` object
        - `ui:meta:resource` UiMetaResourceModel
          - `mimetype` string
    - `ui:win32` UiWin32
      - `readOnly` boolean
      - `hidden` boolean
      - `system` boolean
      - `creationMillis` integer
      - `lastModificationMillis` integer
      - `lastAccessMillis` integer

## Response `207`

MULTI STATUS

## Changes

- **2022-03-23** `8ed3207a0589` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `207`
- **2021-11-05** `8f8578e5d4c5` — 1 info
  - added the new optional request property `update/ui:fs/children/items/ui:share`
- **2021-10-18** `75899b69a09a` — 1 breaking, 1 warning, 1 info
  - removed the success response with the status `207`
  - removed the request property `update/ui:fs/children/items/ui:share`
  - added the success response with the status `200`

[Change history](https://skmtc.dev/iterate-ch/apis/restfs/changes/resource/:resourceId/patch.md)

---

[API](https://skmtc.dev/iterate-ch/apis/restfs.md) · [All operations](https://skmtc.dev/iterate-ch/apis/restfs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iterate-ch/restfs/revisions/517e17452ca3/schema)
