Skip to main content

updateCredential Mutation

Updates the specified Credential 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] when a value for 'customer' does not exist on the object. 2. The signed-in User has any of the following permissions for the associated Organization: [org_manage_customers, org_manage_integrations] when a value for 'customer' exists on the object. 3. The signed-in User has any of the following permissions for the object's 'customer' attribute: [customer_edit] when a value for 'customer' exists on the object.

Input fields (UpdateCredentialInput!)

ArgumentTypeDescription
labelStringThe name of the Credential.
values[InputCredentialFieldValue]A list of InputCredentialFieldValues that contain the values for the CredentialFields.
idIDThe ID of the Credential to mutate.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (UpdateCredentialPayload)

clientMutationId (String)
credential (Credential)
errors ([ErrorType!]!)