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
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
{}