Skip to content
  • Auto
  • Light
  • Dark
Get Started

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
Hide ParametersShow Parameters
Appfield
optional
param.Field[IDstringAppAccountIDstringAppAccountNamestringAppOwnersarrayCertifyPolicyIDstringConnectorVersionint64CreatedAtTimeDefaultRequestCatalogIDstringDeletedAtTimeDescriptionstringDisplayNamestringFieldMaskstringGrantPolicyIDstringIconURLstringIdentityMatchingC1APIAppV1AppIdentityMatchingInstructionsstringIsDirectoryboolIsManuallyManagedboolLogoUristringMonthlyCostUsdint64ParentAppIDstringRevokePolicyIDstringStrictAccessEntitlementProvisioningboolUpdatedAtTimeUserCountstringC1APIAppV1App]

The App object provides all of the details for an app, as well as some configuration.

UpdateMaskfield
optional
param.Field[string]
Returns
AppUpdateResponsestruct

Returns the updated app's new values.

Hide ParametersShow Parameters
AppIDstringAppAccountIDstringAppAccountNamestringAppOwnersarrayCertifyPolicyIDstringConnectorVersionint64CreatedAtTimeDefaultRequestCatalogIDstringDeletedAtTimeDescriptionstringDisplayNamestringFieldMaskstringGrantPolicyIDstringIconURLstringIdentityMatchingC1APIAppV1AppIdentityMatchingInstructionsstringIsDirectoryboolIsManuallyManagedboolLogoUristringMonthlyCostUsdint64ParentAppIDstringRevokePolicyIDstringStrictAccessEntitlementProvisioningboolUpdatedAtTimeUserCountstringC1APIAppV1App
optional

The App object provides all of the details for an app, as well as some configuration.

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