Update the repository item owner

put/repository/items/{itemId}/owner
Internal-Use Only

Update the repository item owner.

Request Samples

1

Response Samples

1{
2 "version": 1,
3 "id": "dbdbef7d-dbdb-49c3-a154-fb41c261b802",
4 "typeId": "user",
5 "name": "SAS Test User 1",
6 "displayName": "SAS Test User 1 (sastest1)"
7}

Path Parameters

NameTypeRequiredDescription
itemId
string
true

The unique identifier for the repository item.

Query Parameters

NameTypeRequiredDescription
current
boolean
false

True (default) if updating the current owner; otherwise, false.

ownerId
string
true

The user ID of the new owner.

Responses

StatusMeaningDescription
200OKThe request succeeded and the specified repository item owner has been updated.Schema
400Bad RequestBad Request