Skip to content
  • Auto
  • Light
  • Dark
Get Started

Create

Set
client.apps.owners.create(stringappID, OwnerCreateParamsbody?, RequestOptionsoptions?): OwnerCreateResponse
put/api/v1/apps/{app_id}/owners

Sets the owners for a given app to the specified list of users.

Parameters
appIDstring

The app_id field for the app to set the owners of.

bodyuserIdsunionOwnerCreateParams
Hide ParametersShow Parameters
userIdsunion
optional
Array<string> | null

The user_ids field for the users to set as an owner of the app.

Returns
OwnerCreateResponsealias
unknown

The empty response message for setting the app owners.

Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';

const client = new ConductoroneSDK({
  apiKey: 'My API Key',
});

const owner = await client.apps.owners.create('app_id');

console.log(owner);
200 Example
{}