When I try to copy a page hierarchy from one space to another, I am getting the following error:
The page exists, but you do not have permission to view it
I can do it from the web using the same user. I ma not quite sure what I am doing wrong.
I may be using one of the parameters wrong. What is the destinationPageId? Where do I get that? Do I create a page and then use that?
{ "copyAttachments": true,
"copyPermissions": true,
"copyProperties": true,
"copyLabels": true,
"copyCustomContents": true,
"destinationPageId": "<string>", <- I am not sure what this is?
"titleOptions": {
"prefix": "<string>",
"replace": "<string>",
"search": "<string>"
}
}