Users
Replace current user profile
Replaces the authenticated user's profile with provided data
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 (Required).
name?string
Full name
marketingOptIn?boolean
Marketing opt-in status
jobStatusEmailNotificationsEnabled?boolean
Job status notification preference
Response Body
curl -X PUT "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"
}


