Update Account Integration
Beta/v1/settings/integrations/{id}This endpoint is idempotent. Learn more
Renames an account integration, activates or deactivates it, or changes its monthly spend limit.
Omitted fields are left unchanged. Credentials cannot be changed here; to rotate them, call Create Account Integration again with the same provider.
idstringAccount integration ID.
nameoptional stringDisplay name of the integration.
statusoptional stringenumValues:activeinactiveLifecycle status of the integration.
Set to inactive to stop the provider being used while keeping its stored credentials, and back to active to resume without re-entering them.
monthly_spend_limitoptional objectnullableMost the provider may spend for the account in a UTC calendar month, or null to remove the limit. Only openrouter takes a limit, in usd. Send null to clear.
amountstring (decimal)Decimal amount, as a string to preserve precision.
currencystringLowercase ISO 4217 currency code.
idstringAccount integration ID.
objectstringenumValues:account_integrationResource type identifier.
namestringDisplay name of the integration.
providerstringenumValues:stripeshippohubspotIntegration provider code.
stripe: Stripe payment processing.shippo: Shippo shipping and label generation.hubspot: HubSpot CRM.openrouter: OpenRouter, the LLM gateway that serves agent runs.
statusstringenumValues:activeinactiveLifecycle status of the integration.
Integrations are created active. Setting an integration to inactive keeps its stored credentials but stops it from being used (for example, the Stripe publishable key cannot be retrieved while the Stripe integration is inactive).
monthly_spend_limitobjectnullableMost the provider may spend for the account in a UTC calendar month, or null for no limit.
Only openrouter integrations take a limit. Agent runs stop starting once OpenRouter reports this much spent this month; a run already underway finishes its current turn.
amountstring (decimal)Decimal amount, as a string to preserve precision.
currencystringLowercase ISO 4217 currency code.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for Update Account Integration