Skip to content

Endpoint

  • Method: POST
  • Path: /profile/{username}/change-password
  • Edition: Core
  • Controller: ProfileController@changePassword
  • Route source: fluent-community/app/Http/Routes/api.php:89
  • Controller source: fluent-community/app/Http/Controllers/ProfileController.php

POST Post Change Password

POST
/profile/{username}/change-password

Post Change Password for the FluentCommunity Profile API.

Controller: ProfileController@changePassword
Route source: fluent-community/app/Http/Routes/api.php:89

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Path Parameters

username*

Username extracted from the URL path.

Type
string
Required

Request Body

application/json
JSON
{
  
"data": {
  
  
"current_password": "string",
  
  
"new_password": "string",
  
  
"confirm_password": "string"
  
}
}

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"rest_nonce": "string",
  
"ajax_nonce": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation