Update
Create
client.Apps.Bindings.Update(ctx, dstAppEntitlementID, params) (*AppProxyEntitlementViewC1APIAppV1AppEntitlementProxyViewExpandedarrayAppBindingUpdateResponse, error)
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.
paramsSrcAppIDfieldSrcAppEntitlementIDfieldDstAppIDfieldExpandMaskfieldAppBindingUpdateParams
Returns
AppBindingUpdateResponsestruct
The CreateAppEntitlementProxyResponse message.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
binding, err := client.Apps.Bindings.Update(
context.TODO(),
"dst_app_entitlement_id",
conductoronesdk.AppBindingUpdateParams{
SrcAppID: "src_app_id",
SrcAppEntitlementID: "src_app_entitlement_id",
DstAppID: "dst_app_id",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", 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"
}
]
}