URI | /v1/accounts/{username}/computers/{computer_id}/password |
URI Parameters |
|
Methods | POST |
POST /v1/accounts/{username}/computers/{computer_id}/password
Changes a computer's password.
Scope | computers_write |
Request Body Parameters |
|
Response Attributes |
|
Example JSON
Request:
POST /v1/accounts/barracuda/computers/0000/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/accounts/barracuda/computers/0000/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