Users
Update current user profile
Updates fields of the authenticated user's profile
x-api-key<token>
API key required in the x-api-key header
In: header
The full profile data to replace the current user profile (Optional).
name?string
Full name
marketingOptIn?boolean
Marketing opt-in status
jobStatusEmailNotificationsEnabled?boolean
Job status notification preference
Response Body
curl -X PATCH "https://app.sokosumi.com/api/v1/users/me" \
-H "Content-Type: application/json" \
-d '{}'{
"success": true,
"data": {
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"name": "string",
"email": "string",
"termsAccepted": true,
"marketingOptIn": true,
"jobStatusEmailNotificationsEnabled": true,
"stripeCustomerId": "string"
},
"timestamp": "string"
}{
"error": "Invalid request parameters",
"code": "400"
}{
"error": "An unexpected error occurred",
"code": "500"
}


