Skip to content
  • Auto
  • Light
  • Dark
Get Started

Update

Add
client.apps.owners.update(stringuserID, OwnerUpdateParamsparams, RequestOptionsoptions?): OwnerUpdateResponse
post/api/v1/apps/{app_id}/owners/{user_id}

Adds an owner to an app.

Parameters
userIDstring

The userId field.

paramsapp_idstringbodyunknownOwnerUpdateParams
Hide ParametersShow Parameters
app_idstring

Path param: The appId field.

bodyunknown
optional

Body param: Empty request body. Just placeholder for the add app owner request which uses URL values for input.

Returns
OwnerUpdateResponsealias
unknown

Empty response with a status code indicating success

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

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

const owner = await client.apps.owners.update('user_id', { app_id: 'app_id' });

console.log(owner);
200 Example
{}