Skip to main content

deleteCredential Mutation

Removes 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 (DeleteCredentialInput!)

ArgumentTypeDescription
idIDThe ID of the Credential to mutate.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (DeleteCredentialPayload)

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