---
title: "Set"
method: PUT
path: "/api/v2/apps/{app_id}/owners"
tags: ["App Owner V2"]
---

# Set

`PUT /api/v2/apps/{app_id}/owners`

Set replaces all user owners for a given app and role.

## Path parameters

- `app_id` string, required — The appId field.

## Request body

- C1ApiAppV2SetAppOwnersRequestInput — SetAppOwnersRequest is the request for setting user owners for an app and role.
  - `appEntitlementRefs` C1ApiAppV1AppEntitlementRef[], nullable — The appEntitlementRefs field.
    - `appId` string — The appId field.
    - `id` string — The id field.
  - `roleSlug` string — The roleSlug field.
  - `userRefs` C1ApiUserV1UserRef[], nullable — The userRefs field.
    - `id` string — The id of the user.

## Response `200`

SetAppOwnersResponse is the empty response for setting app owners.

- C1ApiAppV2SetAppOwnersResponse — SetAppOwnersResponse is the empty response for setting app owners.

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/d391405a35d3/schema)
