POST
/
email
/
public
/
v1
/
smtpapi
/
tokens
/
{userName}
/
password-reset
SMTP API Tokens - Password Reset
curl --request POST \
  --url https://api.hubapi.com/email/public/v1/smtpapi/tokens/{userName}/password-reset \
  --header 'Authorization: Bearer <token>'
{
  "portalId": 123,
  "userName": "<string>",
  "emailCampaignId": 123,
  "createdAt": 123,
  "deleted": true,
  "createdBy": "<string>",
  "appId": 123,
  "campaignName": "<string>",
  "password": "<string>",
  "passwordHash": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

userName
string
required

The userName field of the SMTP API Token needing a password reset.

Response

200
application/json

Password reset successfully

The response is of type object.