Reset password
- Print
- PDF
Reset password
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
- Reset a sub account's password.
API
- PUT /sub-accounts/{subAccountId}/password
Requests
Path Variables
Parameter | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
subAccountId | Y | String | Sub Account Id |
Body
{
"newPassword": "string",
"needPasswordGenerate": "boolean",
}
Parameter | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
newPassword | N | string | Required if needPasswordGenerate is false | New Password |
needPasswordGenerate | N | boolean | Whether the automatic generation of a password is required |
Responses
- Response
Parameter name | Requirement status | Type | Description |
---|---|---|---|
ProcessResultWithPassword | Y | ProcessResultWithPassword | Processing result |
- Response example - Success
{
"success": true,
"generatedPassword": "Pa$$w0rd"
}
Errors
Errors that may occur while using this action are listed below. For error response format, please see ErrorResponse. For more information about common errors, refer to the NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
401 | 30 | Nonexistent account |
400 | 9015 | Unsafe password |
Was this article helpful?