Skip to main content

createScopedConfigVariable Mutation

Creates a new ScopedConfigVariable object.

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_integrations, org_manage_customers]. 2. The signed-in User has any of the following permissions for the access function context object 'customer': [customer_manage_integrations] when 'customer' is provided in the access function context.

Input fields (CreateScopedConfigVariableInput!)

ArgumentTypeDescription
keyString!The display name of this variable.
stableKeyString!The stable key for referencing this variable from Integrations. Cannot change after setting.
descriptionStringAdditional notes about the Scoped Config Variable.
variableScopeString!Specifies the scope of the variable.
managedByStringEnforces which group of users can modify the variable.
connectionID!The Connection to which this variable is associated.
customerIDThe Customer with which this Config Variable is associated.
inputs[InputExpression]The collection of Expressions that serve as inputs to this variable.
oAuthRedirectConfigOAuthRedirectConfigInputConfiguration for OAuth redirects.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (CreateScopedConfigVariablePayload)

clientMutationId (String)
errors ([ErrorType!]!)
scopedConfigVariable (ScopedConfigVariable)