Skip to content
  • Auto
  • Light
  • Dark
Get Started

Update

Create
client.apps.bindings.update(stringdstAppEntitlementID, BindingUpdateParamsparams, RequestOptionsoptions?): appProxyEntitlementViewC1APIAppV1AppEntitlementProxyViewexpandedunionBindingUpdateResponse
post/api/v1/apps/{src_app_id}/{src_app_entitlement_id}/bindings/{dst_app_id}/{dst_app_entitlement_id}

Invokes the c1.api.app.v1.AppEntitlementsProxy.Create method.

Parameters
dstAppEntitlementIDstring

The dstAppEntitlementId field.

paramssrc_app_idstringsrc_app_entitlement_idstringdst_app_idstringexpandMaskExpandMaskBindingUpdateParams
Hide ParametersShow Parameters
src_app_idstring

Path param: The srcAppId field.

src_app_entitlement_idstring

Path param: The srcAppEntitlementId field.

dst_app_idstring

Path param: The dstAppId field.

expandMaskExpandMask
optional

Body param: The AppEntitlementProxyExpandMask message.

Hide ParametersShow Parameters
pathsunion
optional
Array<string> | null

The paths field.

Returns
BindingUpdateResponse

The CreateAppEntitlementProxyResponse message.

Hide ParametersShow Parameters
appProxyEntitlementViewappProxyEntitlementAppProxyEntitlementdstAppEntitlementPathstringdstAppPathstringsrcAppEntitlementPathstringsrcAppPathstringC1APIAppV1AppEntitlementProxyView
optional

The AppEntitlementProxyView message.

expandedunion
optional
Array<Expanded> | null

The expanded field.

Hide ParametersShow Parameters
@typestring
optional

The type of the serialized message.

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

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

const binding = await client.apps.bindings.update('dst_app_entitlement_id', {
  src_app_id: 'src_app_id',
  src_app_entitlement_id: 'src_app_entitlement_id',
  dst_app_id: 'dst_app_id',
});

console.log(binding.appProxyEntitlementView);
200 Example
{
  "appProxyEntitlementView": {
    "appProxyEntitlement": {
      "dstAppEntitlementId": "dstAppEntitlementId",
      "dstAppId": "dstAppId",
      "implicit": true,
      "srcAppEntitlementId": "srcAppEntitlementId",
      "srcAppId": "srcAppId",
      "systemBuiltin": true
    },
    "dstAppEntitlementPath": "dstAppEntitlementPath",
    "dstAppPath": "dstAppPath",
    "srcAppEntitlementPath": "srcAppEntitlementPath",
    "srcAppPath": "srcAppPath"
  },
  "expanded": [
    {
      "@type": "@type"
    }
  ]
}