Update the attributes of a repository item

patch/repository/items/{itemId}
Internal-Use Only

Updates the editable attributes of this repository item. Authorization: Requires read and write permissions.

Request Samples

1

Response Samples

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": 10
26}

Path Parameters

NameTypeRequiredDescription
itemId
string
true

The unique identifier for the repository item.

Examples:
"d6eefec9-dcc2-4574-8af8-69897038d9c5"

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

The ETag that was returned from a GET, POST or PUT of a resource.

Examples:
"\"lgdxya1m\""

Request Body

The attributes on the repository item to update.

Responses

StatusMeaningDescription
200OKOK - the repository item was updated.Schema
400Bad RequestBad Request
404Not FoundNot found - the repository item could not be found.
412Precondition FailedThe ETag provided does not match the current resource.Schema
428Precondition RequiredThe request headers did not include a `If-Match` precondition.Schema