Move
Move a published item to a specified node in the Published Resources tree.
Path parameters
idinteger · int32Required
ID of Pub item to move.
Body
Move a published item
parentIdinteger · int32Optional
ID of a new published item parent. To obtain the published item ID, use the Get-PubItem command. For the root node, set ParentId to '0' (zero).
previousIdinteger · int32Optional
ID of a sibling after which to place the specified published item. To obtain the sibling item ID, use the Get-PubItem command.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
post
POST /api/PubItems/{id}/move HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 29
{
"parentId": 1,
"previousId": 1
}
No content
Was this helpful?