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
- Authentication: Use a Service Account token.
- Permissions: You must have permissions to
manage AI providersin the organization, typically granted tosuper adminroles. - 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): Returnstruewhen the provider was reset successfully,falseotherwise.
Example Response
{
"data": {
"resetLlmProviderOwner": {
"success": true
}
}
}
Additional Notes
- If the
ownerIddoes 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.
