Update Account Integration

Beta
PUT/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.

Role type requiredValues:admin
Only API keys or agents whose role has this type can call this endpoint.
idstring

Account integration ID.

nameoptional string

Display name of the integration.

statusoptional stringenumValues:activeinactive

Lifecycle 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 objectnullable

Most 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.

currencystring

Lowercase ISO 4217 currency code.

idstring

Account integration ID.

objectstringenumValues:account_integration

Resource type identifier.

namestring

Display name of the integration.

providerstringenumValues:stripeshippohubspot

Integration 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:activeinactive

Lifecycle 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_limitobjectnullable

Most 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.

currencystring

Lowercase ISO 4217 currency code.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

Responses

200

Successful response for Update Account Integration