# Updating application ownership using API

**URL:** <https://developer.sailpoint.com/discuss/t/updating-application-ownership-using-api/20151>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud, apis\
**Created:** [November 2, 2023, 3:03pm UTC](https://developer.sailpoint.com/discuss/t/updating-application-ownership-using-api/20151 "2023-11-02T15:03:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![derekbotbyl](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/derekbotbyl/32/5157_2.png) [@derekbotbyl](https://developer.sailpoint.com/discuss/u/derekbotbyl)\
**Post date:** [November 2, 2023, 3:03pm UTC](https://developer.sailpoint.com/discuss/t/updating-application-ownership-using-api/20151/1 "2023-11-02T15:03:58Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![zachm117](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zachm117/32/3883_2.png) [@zachm117](https://developer.sailpoint.com/discuss/u/zachm117)\
**Post date:** [November 7, 2023, 3:17pm UTC](https://developer.sailpoint.com/discuss/t/updating-application-ownership-using-api/20151/2 "2023-11-07T15:17:07Z")

</div>

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:

```auto
{
    "name": "NewApplication5",
    "description": "NewApplicationDescription",
    "owner": {
        "id": "1234567"
    }
}

```

Please let me know if this works for you!

- Zach

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [December 14, 2023, 2:18pm UTC](https://developer.sailpoint.com/discuss/t/updating-application-ownership-using-api/20151/3 "2023-12-14T14:18:21Z")

</div>

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.

> [@POST /api/app/create](https://developer.sailpoint.com/discuss/t/post-api-app-create/20898):
>
> This API’s shutoff date has been extended to November 1st. The replacement API is For a full mapping of /api/app replacements, please see this doc [IDN-V2024 Public Preview Apps API mapping from legacy CC endpoints-090924-215538.pdf](https://developer.sailpoint.com/discuss/uploads/short-url/14Ewig2pRYr7ICYmldjRr7PRgrI.pdf) (595.0 KB) v2024 experimental endpoints will be available by end of this week. Both beta and v2024 experimental may change with little to no notice. Please see our [API versioning strategy](https://developer.sailpoint.com/docs/api/api-versioning-strategy) for more information.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [February 12, 2024, 2:18pm UTC](https://developer.sailpoint.com/discuss/t/updating-application-ownership-using-api/20151/4 "2024-02-12T14:18:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
