Skip to main content
Version: 2.0

Update an App Client

PATCH 

/v2/app_clients/:app_client_id

Update an App Client

Request

Path Parameters

    app_client_id stringrequired

    The name of App Client.

Body

    description string

    The new App Client description.

    api_roles ApiRole[]

    Possible values: [owner, administrator, billing_administrator, corpus_administrator]

    The new roles attached to the App Client. These roles will replace the current roles.

Responses

The App Client.

Schema
    id string

    Possible values: Value must match regular expression app_.+$

    The Vectara App Client ID. This ID is not used during an OAuth flow but the ID used within the Vectara API.

    name string

    The human-readable name of the App Client.

    description string

    Description of the App Client.

    client_id string

    The client ID used with the OAuth flow.

    client_secret string

    The key used in API requests. Should be kept secure.

    api_roles ApiRole[]

    Possible values: [owner, administrator, billing_administrator, corpus_administrator]

    The API roles attached to the App Client.

    api_policy object

    What actions a principal can take on the Vectara platform.

    name stringrequired

    The name of the API role.

    allowed_operations objectrequired

    Operations that are allowed by the API role. Each operation may only allow certain resources that are described by a resource path to resource value map. If the value is null, then the operation is allowed on any resource.

    property name* ApiOperationPolicy

    Policy to allow operations if only using the specified resource.

    allow_any_resource booleanrequired

    Default value: true

    If any resource is allowed for the operation.

    allowed_resources object

    Object with keys of resource paths to a list of allowed resources. A resource path starts with either body, path, or implicit. A body or path resource is within the operation body, and an implicit resource is a resource implied by the request.

    property name* string[]
  • Array [
  • string

  • ]
Loading...