Update the attributes of a repository item
patch/repository/items/{itemId}
Updates the editable attributes of this repository item.
Authorization: Requires read and write permissions.
1{2 "value": {3 "version": 1,4 "createdBy": "sastest1",5 "creationTimeStamp": "2023-08-29T12:23:24Z",6 "modifiedBy": "sastest1",7 "modifiedTimeStamp": "2023-09-19T19:01:21Z",8 "id": "cac68a83-2f9b-4e45-859f-1163581edf1e",9 "typeId": "businessunit",10 "createdByDisplayName": "SAS Test User 1 (sastest1)",11 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",12 "primaryType": "CONTEXT",13 "name": "BU",14 "location": "/",15 "path": "/BU",16 "size": 5318049,17 "propertiesModifiedTimeStamp": "2023-08-29T12:23:24Z",18 "propertiesModifiedBy": "sastest1",19 "propertiesModifiedByDisplayName": "SAS Test User 1 (sastest1)",20 "state": "ACTIVE",21 "owner": "sastest1",22 "ownerDisplayName": "SAS Test User 1 (sastest1)",23 "syncable": "ALLOW",24 "defaultOwner": "sastest1",25 "defaultOwnerDisplayName": "SAS Test User 1 (sastest1)",26 "defaultMajorVersionLimit": 5,27 "defaultMinorVersionLimit": 10,28 "tags": []29 }30}
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | true | The unique identifier for the repository item. |
| Name | Type | Required | Description |
|---|---|---|---|
If-Match | string | true | The ETag that was returned from a GET, POST or PUT of a resource. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | OK - the repository item was updated. | Headers | Schema |
| 400 | Bad Request | Bad Request | ||
| 404 | Not Found | Not found - the repository item could not be found. | ||
| 412 | Precondition Failed | The ETag provided does not match the current resource. | Schema | |
| 428 | Precondition Required | The request headers did not include a | Schema |