Update
Update
client.Apps.Update(ctx, id, body) (*AppC1APIAppV1AppAppUpdateResponse, error)
post/api/v1/apps/{id}
Update an existing app.
Parameters
idstring
The ID of the app.
bodyAppfieldUpdateMaskfieldAppUpdateParams
Returns
AppUpdateResponsestruct
Returns the updated app's new values.
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"),
)
app, err := client.Apps.Update(
context.TODO(),
"id",
conductoronesdk.AppUpdateParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", app.App)
}
200 Example
{
"app": {
"certifyPolicyId": "certifyPolicyId",
"connectorVersion": 0,
"defaultRequestCatalogId": "defaultRequestCatalogId",
"description": "description",
"displayName": "displayName",
"grantPolicyId": "grantPolicyId",
"iconUrl": "iconUrl",
"identityMatching": "APP_USER_IDENTITY_MATCHING_UNSPECIFIED",
"instructions": "instructions",
"isManuallyManaged": true,
"monthlyCostUsd": 0,
"revokePolicyId": "revokePolicyId",
"strictAccessEntitlementProvisioning": true
}
}