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 "version": 1,3 "createdBy": "sastest1",4 "creationTimeStamp": "2023-08-29T12:23:24Z",5 "modifiedBy": "sastest1",6 "modifiedTimeStamp": "2023-09-19T19:01:21Z",7 "id": "cac68a83-2f9b-4e45-859f-1163581edf1e",8 "typeId": "businessunit",9 "createdByDisplayName": "SAS Test User 1 (sastest1)",10 "modifiedByDisplayName": "SAS Test User 1 (sastest1)",11 "primaryType": "CONTEXT",12 "name": "BU",13 "location": "/",14 "path": "/BU",15 "size": 5318049,16 "propertiesModifiedTimeStamp": "2023-08-29T12:23:24Z",17 "propertiesModifiedBy": "sastest1",18 "propertiesModifiedByDisplayName": "SAS Test User 1 (sastest1)",19 "state": "ACTIVE",20 "owner": "sastest1",21 "ownerDisplayName": "SAS Test User 1 (sastest1)",22 "defaultOwner": "sastest1",23 "defaultOwnerDisplayName": "SAS Test User 1 (sastest1)",24 "defaultMajorVersionLimit": 5,25 "defaultMinorVersionLimit": 1026}
Name | Type | Required | Description |
---|---|---|---|
itemId | string | true | The unique identifier for the repository item. Examples: "d6eefec9-dcc2-4574-8af8-69897038d9c5" |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | true | The ETag that was returned from a GET, POST or PUT of a resource. Examples: "\"lgdxya1m\"" |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | OK - the repository item was updated. | 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 `If-Match` precondition. | Schema |