updateOwnProfile
WRITEThe signed-in person's own name, about and phone, through `set_own_profile`: a member's plain update of their own row matches zero rows under RLS and reports s….
POST /api/v1/account/updateOwnProfile
curl -X POST '<your-host>/api/v1/account/updateOwnProfile' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"firstName": "string",
"lastName": "string",
"about": "string"
}'Parameters
ParameterType
min length 1
min length 1
pattern ^\+[1-9]\d{1,14}$
Input schema
schema
{
"type": "object",
"properties": {
"firstName": {
"type": "string",
"minLength": 1
},
"lastName": {
"type": "string",
"minLength": 1
},
"about": {
"type": "string"
},
"phone": {
"type": "string",
"pattern": "^\\+[1-9]\\d{1,14}$"
}
},
"required": [
"firstName",
"lastName",
"about"
]
}