Fluxmail

Change the current member password

Reference for PUT /api/v1/me/password.

PUT /api/v1/me/password

Reference for PUT /api/v1/me/password.

Authentication

Pass a Fluxmail member session as a bearer token. API keys cannot use this endpoint.

Request

curl 'http://localhost:8977/api/v1/me/password' \
  -X PUT \
  -H "Authorization: Bearer $FLUXMAIL_SESSION" \
  -H "Content-Type: application/json" \
  --data '{
  "currentPassword": "string",
  "newPassword": "string"
}'

Request body

Content type: application/json

{
  "type": "object",
  "properties": {
    "currentPassword": {
      "type": "string"
    },
    "newPassword": {
      "type": "string"
    }
  },
  "required": [
    "currentPassword",
    "newPassword"
  ],
  "additionalProperties": false
}

Responses

StatusDescriptionContent type
200Successapplication/json
400Invalid requestapplication/json
401Authentication requiredapplication/json
403Permission deniedapplication/json
404Not foundapplication/json
409Conflictapplication/json
413Request body too largeapplication/json
429Too many attemptsapplication/json

200 response

{
  "type": "object",
  "properties": {
    "data": {
      "nullable": true
    }
  }
}

Last updated