Users
Update user profile.
Changed onUpdates profile settings for the currently authenticated user. Use this to modify account preferences or personal information.
post/api/v1/user
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"profile_photo": "avatar.png",
"name": "John Doe"
}Response
Update user account info
Example response
{
"status": "success",
"data": {
"created_at": "2023-04-30 16:43:53",
"email": "user@domain.com",
"id": 1,
"current_team_id": 1,
"name": "John Doe",
"profile_photo_url": "https://app.customgpt.ai/user/1/profile_photo_url",
"updated_at": "2023-04-30 16:43:53"
}
}Changes
- warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - info
added the non-success response with the status
- warning
- info
added the optional property
/to the response with the status
- info