Computer Information

Computer Information

URI

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

URI Parameters

  • username (string)

  • computer_id (string)

Methods

GET, PUT

GET /v1/accounts/{username}/computers/{computer_id}/info

Gets a computer's customer controllable properties.

Scope

computers_read

Request Body Parameters

  • n/a

Response Attributes

  • name (string)

  • email (string)

  • phone (string)

Example JSON

Request:

GET /v1/accounts/barracuda/computers/0000/info HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "name": "Mail Server",

  "email": "jsmith@barracuda.com",

  "phone": "617-948-5300"

}

Example XML

Request:

GET /v1/accounts/barracuda/computers/0000/info HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/xml

 

Response:

HTTP/1.1 200 OK

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<computer>

  <name>Mail Server</name>

  <email>jsmith@barracuda.com</email>

  <phone>617-948-5300</phone>

</computer>

PUT /v1/accounts/{username}/computers/{computer_id}/info

Edits a computer's customer controllable properties.

Scope

computers_write

Request Body Parameters

  • name (string)

  • email (string)

  • phone (string)

Response Attributes

  • n/a

Example JSON

Request:

PUT /v1/accounts/barracuda/computers/0000/info HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "name": "Mail Server",

  "email": "jsmith@barracuda.com",

  "phone": "617-948-5300"

}

 

Response:

HTTP/1.1 204 No Content

Example XML

Request:

GET /v1/accounts/barracuda/computers/0000/info HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<computer>

  <name>Mail Server</name>

  <email>jsmith@barracuda.com</email>

  <phone>617-948-5300</phone>

</computer>

 

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.