Session Management

Returns a new, randomly generated password for the current username

PUT
/m2m/v1/session/password/actions/reset

The new password is effective immediately. Passwords do not expire, but Verizon recommends changing your password every 90 days.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

Request with current password that needs to be reset.

Request with current password that needs to be reset.

oldPassword*string

The current password for the username.

Response Body

application/json

application/json

curl -X PUT "https://example.com/m2m/v1/session/password/actions/reset" \  -H "Content-Type: application/json" \  -d '{    "oldPassword": "grflbk"  }'
{  "newPassword": "Wh0a1545a84d"}