Reset LLM Provider Owner

Resets an LLM provider owner back to PipefyAI defaults

Before You Begin

🔗 Use the GraphQL Playground to execute the mutations in this guide.

➡️ New to GraphQL? Learn how to navigate the Playground with our Playground Basics Guide.

Prerequisites

  1. Authentication: Use a Service Account token.
  2. Permissions: You must have permissions to manage AI providers in the organization, typically granted to super admin roles.
  3. Owner ID: The ID of the owner whose LLM provider you want to reset.

Step 1: Execute the Mutation

This mutation resets the LLM provider configuration for a given owner back to PipefyAI defaults.

Resetting an organization's provider

mutation {
  resetLlmProviderOwner(input: { ownerType: organization, ownerId: "your-organization-uuid" }) {
    success
  }
}

Arguments

  • ownerType (Enum, required): The type of owner. Listed under OwnerProvider in the GraphQL Playground.
  • ownerId (String, required): The ID of the owner whose LLM provider configuration you want to reset.

Response Fields

  • success (Boolean): Returns true when the provider was reset successfully, false otherwise.

Example Response

{
  "data": {
    "resetLlmProviderOwner": {
      "success": true
    }
  }
}

Additional Notes

  • If the ownerId does not exist or does not belong to the current organization, an error will be returned.
  • If the mutation fails due to insufficient permissions, an authorization error will be raised.
  • This mutation removes any custom LLM provider configuration for the specified owner, reverting it to PipefyAI defaults. It does not delete the provider itself.

Use this mutation to revert a specific owner's LLM provider configuration back to PipefyAI without affecting other owners.