URI  | /v1/accounts/{username}/info  | 
URI Parameters  | 
  | 
Methods  | GET, PUT  | 
GET /v1/accounts/{username}/info
Gets an account’s customer controllable properties.
Scope  | accounts_read  | 
Request Body Parameters  | 
  | 
Response Attributes  | 
  | 
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  | 
  | 
Response Attributes  | 
  | 
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