PATCH /api/v1/me
Change the name of the signed-in member.
Change the name of the signed-in member.
Authentication
Pass a Fluxmail member session as a bearer token. API keys cannot use this endpoint.
Request
curl 'http://localhost:8977/api/v1/me' \
-X PATCH \
-H "Authorization: Bearer $FLUXMAIL_SESSION" \
-H "Content-Type: application/json" \
--data '{
"name": "string"
}'Request body
Content type: application/json
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
}
},
"required": [
"name"
],
"additionalProperties": false
}Responses
| Status | Description | Content type |
|---|---|---|
200 | Success | application/json |
400 | Invalid request | application/json |
401 | Authentication required | application/json |
403 | Permission denied | application/json |
404 | Not found | application/json |
409 | Conflict | application/json |
413 | Request body too large | application/json |
429 | Too many attempts | application/json |
200 response
{
"type": "object",
"properties": {
"data": {
"nullable": true
}
},
"additionalProperties": {
"nullable": true
}
}Last updated
PATCH /api/v1/admin/members/{memberId}
Change a member's name, email, role or status. Requires admin.members.
DELETE /api/v1/admin/members/{memberId}
Remove a member permanently. Their mailboxes go to the member named in reassignTo; without it, they must own no mailboxes. Their API keys, and keys they created for others, are revoked. Requires admin.members.