Hello,
I’ve discovered how to update some aspects of an application using the internal API. One gap I cannot figure out, is how to either set ownership during the creation, or update ownership after the app has been created. I would like to set the owner as a specified user instead of the user that calls the API.
Thanks!
Hi Derek!
I did some exploring and it looks like the below would work for setting the owner on creation of an application. Just change the owner.id field to the internal id of the identity you want to be the owner.
POST {{baseUrl}}/cc/api/app/create
Body:
{
"name": "NewApplication5",
"description": "NewApplicationDescription",
"owner": {
"id": "1234567"
}
}
Please let me know if this works for you!
- Zach
FYI, the private APIs for managing apps are going to be deprecated and replaced by a beta/v3 equivalent. You can track the status of this effort here.
1 Like
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.