updateOAuth2Connection Mutation
Update OAuth2 Connection properties for a given Instance Config Variable.
Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_instances]. 2. The signed-in User has any of the following permissions for the object's 'instance' attribute: [instance_edit]. 3. The signed-in User has any of the following permissions for the object's 'instance_Customer' attribute: [customer_admin_manage_instances, customer_manage_marketplace_integrations]. 4. The signed-in User has any of the following permissions for the object's 'instance_Integration_Customer' attribute: [customer_admin_manage_instances, customer_manage_marketplace_integrations].
Input fields (UpdateOAuth2ConnectionInput!)
Argument | Type | Description |
---|---|---|
refreshAt | DateTime | The timestamp at which the next refresh attempt will occur for the Connection. |
accessToken | String | The OAuth2 access token to use for the Connection. |
refreshToken | String | The OAuth2 refresh token to use for the Connection. |
tokenType | String | The type of OAuth2 token to use for the Connection. |
expiresIn | Int | The number of seconds until the token is expired and a refresh must occur for the Connection. |
context | String | The context to use for the Connection. Completely replaces any existing value for context on the Connection. |
status | String | The status to use for the Connection. |
additionalTokenFields | String | Additional fields to store on the token. |
id | ID | The ID of the InstanceConfigVariable to mutate. |
clientMutationId | String | A unique identifier for the client performing the mutation. |