Account Information

Account Information

URI

/v1/accounts/{username}/info

URI Parameters

  • username (string)

Methods

GET, PUT

GET /v1/accounts/{username}/info

Gets an account’s customer controllable properties.

Scope

accounts_read

Request Body Parameters

  • n/a

Response Attributes

  • reference_code (string)

Example JSON

Request:

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

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "reference_code": "acct-123"

}

Example XML

Request:

HTTP/1.1 200 OK

Content-Type: application/xml

 

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

<account>

  <reference_code>acct-123</reference_code>

</account>

PUT /v1/accounts/{username}/info

Edits an account’s customer controllable properties.

Scope

accounts_write

Request Body Parameters

  • reference_code (string)

Response Attributes

  • n/a

Example JSON

Request:

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

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "reference_code": "acct-123"

}

Response:

HTTP/1.1 204 No Content

Example XML

Request:

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

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

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

<account>

  <reference_code>acct-123</reference_code>

</account>

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.