Username Locator

Username Locator

URI

/v1/general/username/{username}

URI Parameters

  • username (string)

Methods

GET

GET /v1/general/username/{username}

Gets the username's resource location. Use username 0 to get the location of currently authorized end-user.

Scope

n/a

Request Body Parameters

  • n/a

Response Attributes

  • n/a

Example Self

Request:

GET /v1/username/0 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

Response:

HTTP/1.1 303 See Other                              

Location: https://api.intronis.com/v1/partner/barracuda

Example Account

Request:

GET /v1/username/barracuda_a HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

Response:

HTTP/1.1 303 See Other

Location: https://api.intronis.com/v1/accounts/barracuda_a

Example Partner

Request:

GET /v1/username/barracuda_p HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

Response:

HTTP/1.1 303 See Other

Location: https://api.intronis.com/v1/partner/barracuda_p

Example User

Request:

GET /v1/username/tech_user HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qm

 

Response:

HTTP/1.1 303 See Other

Location: https://api.intronis.com/v1/partner/barracuda/user/tech_user

Example Not Found

Request:

GET /v1/username/a HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

Response:

HTTP/1.1 404 Not Found


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.