4e064cf81dae
latestOpenAPI 3.1.02026-08-131831,331960.0 KBusers
Update a customer
Update customer profile and budget settings. Customers are created automatically from usage; use this endpoint to configure budgets or update profile fields after creation.
patch/api/users/{customer_identifier}/
Path parameters
customer_identifierstring required
Your unique identifier for this customer.
Query parameters
environment'prod' | 'test'
Optional environment filter. If omitted, the backend uses the environment implied by your auth context when applicable.
Headers
Authorizationstring required
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
Request body
Response
Updated customer details.