Hello. Thanks for getting back to me.
I think the biggest hurtle you will have will be have the correct 'access rights'.
Meaning, when i created a new workspace project via the API, it was assigned to my 'techAccount' email address which is different than my Adobe Analytics Log In email address. So I was able to use a PUT url of "https://analytics.adobe.io/api/mcdona4/projects/{{project_id}}" and a body script of
{
"rsid": "{{rsid}}",
"owner": {
"id": "{{ownerId}}",
"name": "{{ownerName}}",
"login": "{{ownerLogIn}}"
}
}
to transfer the project from my Tech Account over to my Adobe Analytics Account
but if I tried to reverse the ownership (meaning transfer from my Adobe Analytics Account back to my TechAccount) i get a 'insufficient access' error. because the asset is no longer under my TechAccount ownership
The work around I came up with has to share the project with both accounts.
you can do that by adding the Shares tag to your postman script. It might look something like this
shares: [{shareToId: "xxxxxxxxxx", shareToType: "user", accessLevel: "edit"}]
{shareToId: "xxxxxxxxx", shareToType: "user", accessLevel: "edit"}
- accessLevel: "edit"
- shareToId: "xxxxxxxxx"
- shareToType: "user"
sharing 'edit' access seems to fix the 'insufficient access' issue and i'm able to develop the project via the API while at the same time letting the end Adobe Analytics User see the updates i'm making.
I hope that helps give you some ideas.