Partner User

Partner User

URI

/v1/partners/{username}/users/{user_username}

URI Parameters

  • username (string)

  • user_username (string)

Methods

GET, PUT, DELETE

GET /v1/partners/{username}/users/{user_username}

Gets a partner's user information.

Scope

partners_read

Request Body Parameters

  • n/a

Response Attributes

  • name (string)

  • company (string)

  • street_address (string)

  • street_address2 (string)

  • city (string)

  • state (string)

  • zip (string)

  • country (string) - deprecated

  • country_iso (string)

  • email (string)

  • phone (string)

  • role (string const) – ADMIN|TECH|FINANCE

Example JSON

Request:

GET /v1/partners/barracuda/users/tech_user HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "name": "John Smith",

  "company": "barracuda",

  "street_address": "334 Congress Street",

  "street_address2": "",

  "city": "Boston",

  "state": "MA",

  "zip": "02210",

  "country": "USA",

  "country_iso": "US",

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

  "phone": "617-948-5300",

  "role": "TECH"

}

Example XML

Request:

GET /v1/partners/barracuda/users/tech_user 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" ?>

<user>

  <name>John Smith</name>

  <company>barracuda</company>

  <street_address>334 Congress Street</street_address>

  <street_address2/>

  <city>Boston</city>

  <state>MA</state>

  <zip>02210</zip>

  <country>USA</country>

  <country_iso>US</country_iso>

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

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

  <role>TECH</role>

</user>

PUT /v1/partners/{username}/users/{user_username}

Edits a partner's user's information.

Scope

partners_write

Request Body Parameters

  • name (string)

  • company (string)

  • street_address (string)

  • street_address2 (string)

  • city (string)

  • state (string)

  • zip (string)

  • country (string) - deprecated

  • country_iso (string)

  • email (string)

  • phone (string)

  • role (string const) – ADMIN|TECH|FINANCE

Response Attributes

  • n/a

 

Example JSON

Request:

PUT /v1/partners/barracuda/users/tech_user HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "name": "John Smith",

  "company": "barracuda",

  "street_address": "334 Congress Street",

  "street_address2": "",

  "city": "Boston",

  "state": "MA",

  "zip": "02210",

  "country": "USA",

  "country_iso": "US",

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

  "phone": "617-948-5300",

  "role": "TECH"

}

 

Response:

HTTP/1.1 204 No Content

Example XML

Request:

GET /v1/partners/barracuda/users/tech_user HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

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

<user>

  <name>John Smith</name>

  <company>barracuda</company>

  <street_address>334 Congress Street</street_address>

  <street_address2/>

  <city>Boston</city>

  <state>MA</state>

  <zip>02210</zip>

  <country>USA</country>

  <country_iso>US</country_iso>

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

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

  <role>TECH</role>

</user>

 

Response:

HTTP/1.1 204 No Content

DELETE /v1/partners/{username}/users/{user_username}

Deletes a partner's user.

Scope

partners_write

Request Body Parameters

  • n/a

Response Attributes

  • n/a

Example

Request:

DELETE /v1/partners/barracuda/users/tech_user HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

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.