Computer Password Changer Controller

Computer Password Changer Controller

URI

/v1/accounts/{username}/computers/{computer_id}/password

URI Parameters

  • username (string)

  • computer_id (string)

Methods

POST

POST /v1/accounts/{username}/computers/{computer_id}/password

Changes a computer's password.

Scope

computers_write

Request Body Parameters

  • current_password (string) – the computer’s current password

  • new_password (string) – the new password to be saved to the computer

Response Attributes

  • n/a

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


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.