Description
Change password for email address.
Request URL
Mail API v1.0 PUT /v1/emails/(uuid:email_id)/password
Request Paramters
Parameter | Value | Style | Type | Description |
---|---|---|---|---|
X-Auth-Token | - | header | string | User Token |
email_id | - | URI | UUID | Email ID |
password | - | plain | string | パスワード、文字種別:以下参照、文字長:9~70文字 |
※About Password
・A combination of capital letters, small letters and numbers are required
・The special letters allowed:!#$%&?“'=+-_{}[]^~:;().,/|\*@
Request Json
{ "password": "ZE!Zr0vKO" }
Normal response codes
204 - Success
Error response codes
400 - Invalid Password
401 - Access Denied
404 - Not Found
Repeatable
Yes
Example
curl -i -X PUT \ -H "Accept: application/json" \ -H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \ -d '{ "password": "ZE!Zr0vKO" }' \ https://mail-hosting.tyo1.cloud.z.com/v1/emails/508bb370c78b7a/password
HTTP/1.1 204 Success Date: Tue, 09 Dec 2014 01:46:58 GMT Server: Apache Content-Length: 1003 Content-Type: application/json