- Introduction
- Authentication
- Sorting and Pagination
- Errors
- Authentication APIs
- User Authentication APIs
- Account APIs
- Custom Placeholder APIs
- Brand APIs
- Campaign APIs
- Campaign Batch APIs
- Create a Campaign Batch
- Retrieve Errors for a Campaign Batch
- Update a Campaign Batch
- Download Original Campaign Batch CSV File
- Retrieve a Campaign Batch
- List All Campaign Batches
- List All Messages for a Processed Campaign Batch
- Download All Messages for a Processed Campaign Batch
- Remove a Campaign Batch
- Campaign Batch Object
- Campaign Batch Message Object
- Campaign Subscription APIs
- Recipient APIs
- Recipient Batch APIs
- Recipient List APIs
- Keyword Filtering APIs
- Message Template APIs
- Message APIs
- Collection APIs
- Insights APIs
Update User Password
Update a RocketCOMS Portal user’s password.
Endpoint
PATCH /v1/auth/password
Authorization Header
Authorization: Bearer <access_token>
or
Authorization: Basic <encodedString>
where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding
Request Body
oldPassword REQUIRED
string, max length: 255, min length: 0
Current password.
newPassword REQUIRED
string, max length: 255, min length: 0
pattern: ^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[!@#?]).{8,20}$
New password. The password must contain:
- a minimum of 8 characters
- uppercase and lowercase letters
- at least one numeric character
- at least one of the following special characters: ! @ # ?
confirmPassword REQUIRED
string, max length: 255, min length: 0
Re-enter the new password.
Returns
If successful, returns 200 Password updated.
SAMPLE REQUEST
{
"oldPassword": "Abcd123!",
"newPassword": "jmnH78@ltn",
"confirmPassword": "jmnH78@ltn"
}
SAMPLE RESPONSE
{
200 Password updated
}