URI | /v1/partners/{username}/password |
URI Parameters |
|
Methods | POST |
POST /v1/partners/{username}/password
Changes a partner's password.
Scope | partners_write |
Request Body Parameters |
|
Response Attributes |
|
Example JSON
Request:
POST /v1/partners/barracuda/password HTTP/1.1
Host: api.intronis.com
Authorization: OAuth vF9dft4qmT
Content-Type: application/json
{
"current_password": "password",
"new_password": "password1"
}
Response:
HTTP/1.1 204 No Content
Example XML
Request:
POST /v1/partners/barracuda/password HTTP/1.1
Host: api.intronis.com
Authorization: OAuth vF9dft4qmT
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<password>
<current_password>password</current_password>
<new_password>password1</new_password>
</password>
Response:
HTTP/1.1 204 No Content