POST api/v1/auth/password/change

Request Information

URI Parameters

None.

Body Parameters

Ghostery.Privacy.Api.ViewModels.ChangePasswordRequest
NameDescriptionTypeAdditional information
OldPassword

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "oldPassword": "sample string 1",
  "newPassword": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'Ghostery.Privacy.Api.ViewModels.ChangePasswordRequest'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.