Update a user
Changed onUsers are created automatically from usage. Use this endpoint to set budgets or update profile fields after creation.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/users/{customer_identifier}/
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Your unique identifier for this user.
Query parameters
Optional environment filter. If omitted, the backend uses the environment implied by your auth context when applicable.
Request body
Example request
{
"email": "alice@example.com",
"name": "Alice",
"metadata": {
"plan": "pro",
"team": "engineering"
},
"period_budget": 100,
"budget_duration": "monthly",
"total_budget": 1000,
"period_start": "2025-12-01T00:00:00Z",
"period_end": "2025-12-31T23:59:59Z",
"markup_percentage": 20
}Response
Updated user details.
Changes
- breaking
request body became required
- breaking
the
request property type changed fromnumbernulltonumber, and format fromdoubleto no format - breaking
the
request property type changed fromnumbernulltonumber, and format fromdoubleto no format - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
response's property type changed fromnumbernulltonumber, and format fromdoubleto no format for status - breaking
the
response's property type changed fromnumbernulltonumber, and format fromdoubleto no format for status - breaking
the
response's property format changed fromdoubleto no format for status - info
api operation id
users_updateUserremoved and replaced withupdateUser - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Usersadded - info
api tag
usersremoved - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the
request property format was generalized fromdoubleto no format
- breaking
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info