Help Center
Choose product document...
Veeam Availability Console 2.0 Update 1
RESTful API Reference

Get Users

You can get a representation of а collection of all Veeam Availability Console users.

Request

To get all Veeam Availability Console users, send the GET HTTPS request to the URL of the /Users collection.

HTTP Request

GET https://<Availability-Console>:1281/v2/Users

Request Headers

The request header must contain the authorization token for the current logon session.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Availability Console returns a representation of the /Users collection.

Example Get Users

The following request returns all Veeam Availability Console users.

Request:

GET https://localhost:1281/v2/Users

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

[

 {

   "id": 2,

   "firstName": "Mark",

   "lastName": "Brown",

   "userName": "Delta",

   "role": "Company Owner",

   "title": "Mr.",

   "status": "Enabled",

   "email": "mark.brown@delta.com",

   "_links": {

     "self": {

       "href": "https://vac.tech.local:1281/v2/users/2"

     },

     "tenants": {

       "href": "https://vac:1281/v2/tenants/2"

     },

     "locations": [

       {

         "href": "https://vac.tech.local:1281/v2/tenants/2/locations/2"

       }

     ]

   }

 },

 {

   "id": 5,

   "firstName": "Elliot",

   "lastName": "Alderson",

   "userName": "ealderson",

   "role": "Company Administrator",

   "title": "Mr.",

   "status": "Enabled",

   "email": "e.alderson@delta.com",

   "_links": {

     "self": {

       "href": "https://vac.tech.local:1281/v2/users/5"

     },

     "tenants": {

       "href": "https://vac:1281/v2/tenants/2"

     },

     "locations": [

       {

         "href": "https://vac.tech.local:1281/v2/tenants/2/locations/3"

       }

     ]

   }

 },

 {

   "id": 6,

   "firstName": "Anna",

   "lastName": "Viollet",

   "userName": "Anna",

   "role": "Company User",

   "title": "Ms.",

   "status": "Enabled",

   "email": "anna.viollet@delta.com",

   "_links": {

     "self": {

       "href": "https://vac.tech.local:1281/v2/users/6"

     },

     "tenants": {

       "href": "https://vac:1281/v2/tenants/2"

     },

     "locations": [

       {

         "href": "https://vac.tech.local:1281/v2/tenants/2/locations/4"

       }

     ],

     "backupResources": [

       {

         "href": "https://vac.tech.local:1281/v2/users/6/backupResources/18307f2b-6b32-4299-b0b1-c13b3766d9d6"

       }

     ]

   }

 }

]

Veeam Large Logo

Deployment Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Quick Start Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Quick Start Guide for Enterprises

RESTful API Reference