Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cragdoo/6b81b630babbaa2b67e52a2b9d291c8a to your computer and use it in GitHub Desktop.
Save Cragdoo/6b81b630babbaa2b67e52a2b9d291c8a to your computer and use it in GitHub Desktop.
Veeam Availability Console - RestAPI.postman_collection
{
"info": {
"name": "Veeam Availability Console - RestAPI",
"_postman_id": "4557225d-767a-cc78-c0e7-9f73d1b56a99",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "v2",
"description": "Folder for v2",
"item": [
{
"name": "Accounts",
"description": "",
"item": [
{
"name": "Performs user logout",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/accounts/logout",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"accounts",
"logout"
]
},
"description": "Ends the current user session and performs user logout."
},
"response": []
},
{
"name": "Request access and refresh token.",
"event": [
{
"listen": "test",
"script": {
"id": "05c2c198-8286-4fca-93cd-94493fb09a48",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"access_token\", data.access_token);",
"postman.setEnvironmentVariable(\"refresh_token\", data.refresh_token);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "grant_type",
"value": "password",
"type": "text"
},
{
"key": "username",
"value": "{{username}}",
"type": "text"
},
{
"key": "password",
"value": "{{password}}",
"type": "text"
},
{
"key": "refresh_token",
"value": "{{refresh_token}}",
"type": "text"
}
]
},
"url": {
"raw": "https://{{VAC}}/token",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"token"
]
},
"description": "Returns an access and refresh tokens."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "BackupPolicies",
"description": "",
"item": [
{
"name": "List collection of all backup policies ",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json",
"disabled": true
},
{
"key": "Authorization",
"value": "Bearer {{access_token}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://{{VAC}}/v2/backupPolicies",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupPolicies"
]
},
"description": "Returns a collection of all backup policies configured in Veeam Availability Console"
},
"response": []
},
{
"name": "Add a backup policy",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json",
"disabled": true
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://{{VAC}}/v2/backupPolicies",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupPolicies"
]
},
"description": "Adds a backup policy into Veeam Availability Console configuration."
},
"response": []
},
{
"name": "Backup policy with the specified system ID",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/backupPolicies/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupPolicies",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a backup policy with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "BackupRepositories",
"description": "",
"item": [
{
"name": "List all repositories",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/backupRepositories",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupRepositories"
]
},
"description": "Returns a collection of all repositories configured on the Veeam Cloud Connect server and tenant Veeam Backup & Replication servers. The collection includes simple backup repositories, scale-out backup repositories and cloud repositories available for tenants."
},
"response": []
},
{
"name": "List repository with the specified system ID",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/backupRepositories/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupRepositories",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a repository with the specified system ID. Applies to simple backup repositories, scale-out backup repositories and cloud repositories available for tenants."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "BackupResources",
"description": "",
"item": [
{
"name": "List resources available for a tenant",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/backupResources",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"backupResources"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
}
]
},
"description": "Returns a collection of all cloud repository resources available for a tenant in Veeam Availability Console."
},
"response": []
},
{
"name": "List tenant repository with the specified system ID",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/backupResources/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"backupResources",
":id"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
},
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a repository with the specified system ID. Applies to simple backup repositories, scale-out backup repositories and cloud repositories available for tenants."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "BackupServers",
"description": "",
"item": [
{
"name": "List all backup servers",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/backupServers",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupServers"
]
},
"description": "Returns a collection of all backup servers present in the infrastructure. The collection includes backup servers deployed in tenants and service provider infrastructures."
},
"response": []
},
{
"name": "List backup server with the specified system ID",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/backupServers/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"backupServers",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a backup server with the specified system ID. Applies to backup servers in tenants and service provider infrastructures."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Computers",
"description": "",
"item": [
{
"name": "List all computers discovered in VAC",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/computers",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"computers"
]
},
"description": "Returns a collection of all computers discovered in Veeam Availability Console."
},
"response": []
},
{
"name": "List a discovered computer with the specified system ID",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/computers/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"computers",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a discovered computer with the specified system ID."
},
"response": []
},
{
"name": "Manage Computer agent",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Available actions: activate, deactivate"
},
"url": {
"raw": "https://{{VAC}}/v2/computers/:id/action",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"computers",
":id",
"action"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "‘Activate’ action – activates backup agent on a computer with the specified system ID. ‘Deactivate’ action – deactivates backup agent on a computer with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "DiscoveryRules",
"description": "",
"item": [
{
"name": "List a collection of all discovery rules",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/discoveryRules",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"discoveryRules"
]
},
"description": "Returns a collection of all discovery rules configured in Veeam Availability Console."
},
"response": []
},
{
"name": "List discovery rule with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/discoveryRules/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"discoveryRules",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a discovery rule with the specified system ID."
},
"response": []
},
{
"name": "List discovery rule network settings with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/discoveryRules/:id/networks",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"discoveryRules",
":id",
"networks"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns network settings configured for a discovery rule with the specified system ID."
},
"response": []
},
{
"name": "List discovery rule notification settings with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/discoveryRules/:id/notificationSettings",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"discoveryRules",
":id",
"notificationSettings"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a notification settings configured for a discovery rule with the specified system ID."
},
"response": []
},
{
"name": "List discovery rule discovery filters with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/discoveryRules/:id/filters",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"discoveryRules",
":id",
"filters"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns discovery filters configured for a discovery rule with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "FailoverPlans",
"description": "",
"item": [
{
"name": "List all failover plans configured by tenants.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/failoverPlans",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"failoverPlans"
]
},
"description": "Returns a collection of all failover plans configured by tenants."
},
"response": []
},
{
"name": "List failover plan for specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/failoverPlans/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"failoverPlans",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a failover plan with the specified system ID."
},
"response": []
},
{
"name": "Manage failover plans",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Available actions: start, undo"
},
"url": {
"raw": "https://{{VAC}}/v2/failoverPlans/:id/action",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"failoverPlans",
":id",
"action"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "‘Start’ action – launches a failover plan with the specified system ID. ‘Undo’ action – performs an undo operation for a failover plan with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "HardwarePlans",
"description": "",
"item": [
{
"name": "List all hardware plans ",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/hardwarePlans",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"hardwarePlans"
]
},
"description": "Returns a collection of all hardware plans configured in Veeam Cloud Connect."
},
"response": []
},
{
"name": "List hardware plan for specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/hardwarePlans/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"hardwarePlans",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a hardware plan with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Jobs",
"description": "",
"item": [
{
"name": "List all Veeam Backup & Replication jobs.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/jobs",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"jobs"
]
},
"description": "Returns а collection of all Veeam Backup & Replication jobs managed in Veeam Availability Console."
},
"response": []
},
{
"name": "List Veeam Backup & Replication jobs for specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/jobs/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"jobs",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns Veeam Backup & Replication job with the specified system ID."
},
"response": []
},
{
"name": "Manage Veeam Backup and Replication jobs.",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Available actions: enable, disable, retry, start, stop"
},
"url": {
"raw": "https://{{VAC}}/v2/jobs/:id/action",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"jobs",
":id",
"action"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "‘Enable’ action – enables a disabled job with the specified system ID. ‘Disable’ action – disables a scheduled job with the specified system ID. ‘Start’ action – runs an idle job with the specified system ID. ‘Stop’ action – halts a running job with the specified system ID. ‘Retry’ action - performs a retry procedure for a job with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Licenses",
"description": "",
"item": [
{
"name": "List licenses uploaded.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/licenseSettings",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"licenseSettings"
]
},
"description": "Returns settings of a license uploaded to Veeam Availability Console."
},
"response": []
},
{
"name": "Manage license auto update",
"request": {
"method": "PATCH",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://{{VAC}}/v2/licenseSettings",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"licenseSettings"
]
},
"description": "Enables or disables auto update of a license uploaded to Veeam Availability Console."
},
"response": []
},
{
"name": "Update license",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Available actions: updateNow"
},
"url": {
"raw": "https://{{VAC}}/v2/licenseSettings/action",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"licenseSettings",
"action"
]
},
"description": "‘UpdateNow’ action – updates a license in Veeam Availability Console."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Locations",
"description": "",
"item": [
{
"name": "List all locations for a tenant.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/locations",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"locations"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
}
]
},
"description": "Returns a collection of all locations configured for a tenant in Veeam Availability Console."
},
"response": []
},
{
"name": "List tenant location with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/locations/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"locations",
":id"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
},
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a tenant location with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "ReplicaResources",
"description": "",
"item": [
{
"name": "List collection of all cloud replication resources for a tenant.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/replicaResources/networkextensionAppliance",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"replicaResources",
"networkextensionAppliance"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
}
]
},
"description": "Get collection of all cloud replication resources available for a tenant in Veeam Availability Console."
},
"response": []
},
{
"name": "List tenant cloud replication resource with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/replicaResources",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"replicaResources"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
}
]
},
"description": "Returns a resource representation of a tenant cloud replication resource with the specified system ID."
},
"response": []
},
{
"name": "List tenant network extension appliances for tenant.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/replicaResources/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"replicaResources",
":id"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
},
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a collection of all network extension appliances configured for a tenant in Veeam Cloud Connect."
},
"response": []
},
{
"name": "List tenant network extension appliance with the specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:tenantId/replicaResources/networkextensionAppliance/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":tenantId",
"replicaResources",
"networkextensionAppliance",
":id"
],
"variable": [
{
"key": "tenantId",
"value": "{{tenantId}}"
},
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a resource representation of a tenant network extension appliance with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "SubscriptionPlans",
"description": "",
"item": [
{
"name": "List subscription Plans",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/subscriptionPlans",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"subscriptionPlans"
]
},
"description": "Returns a collection of all subscription plans configured in Veeam Availability Console."
},
"response": []
},
{
"name": "List subscription plan for specified system ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/subscriptionPlans/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"subscriptionPlans",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a resource representation of a subscription plan with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Tenants",
"description": "",
"item": [
{
"name": "List all tenants.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants"
]
},
"description": "Returns a collection of all tenants in Veeam Availability Console."
},
"response": []
},
{
"name": "Delete a tenant with the specified system ID.",
"request": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Deletes a tenant with the specified system ID from Veeam Availability Console."
},
"response": []
},
{
"name": "List a specific tenant details.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a resource representation of a tenant with the specified system ID."
},
"response": []
},
{
"name": "Manage tenants.",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "Available actions: enable, disable, sendWelcomeLetter"
},
"url": {
"raw": "https://{{VAC}}/v2/tenants/:id/action",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"tenants",
":id",
"action"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "‘Disable’ action – disables an account of a tenant with the specified system ID. ‘Enable’ action – enables a disabled tenant with the specified system ID. ‘SendWelcomeLetter’ action – sends a welcome letter to a tenant with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Upload",
"description": "",
"item": [
{
"name": "Upload a license file.",
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
},
{
"key": "Content-Type",
"value": "application/form-data"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"value": "{{file}}",
"type": "text"
}
]
},
"url": {
"raw": "https://{{VAC}}/v2/upload/license",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"upload",
"license"
]
},
"description": "Uploads a license file to Veeam Availability Console."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Users",
"description": "",
"item": [
{
"name": "List all users.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/users",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"users"
]
},
"description": "Returns a collection of all users in Veeam Availability Console."
},
"response": []
},
{
"name": "List specific user details.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/users/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"users",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a resource representation of a user with the specified system ID."
},
"response": []
},
{
"name": "List specific user backup resources.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/users/:userId/backupresources",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"users",
":userId",
"backupresources"
],
"variable": [
{
"key": "userId",
"value": "{{userId}}"
}
]
},
"description": "Returns a resource representation of a backup resources allocated to a user with the specified system ID."
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "WanAccelerators",
"description": "",
"item": [
{
"name": "List all WAN accelerators.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml, text/csv"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/wanAccelerators",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"wanAccelerators"
]
},
"description": "Returns a resource representation of а collection of all WAN Accelerators configured on servers."
},
"response": []
},
{
"name": "List WAN accelerator with specified ID.",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json, text/json, text/html, application/xml, text/xml"
}
],
"body": {},
"url": {
"raw": "https://{{VAC}}/v2/wanAccelerators/:id",
"protocol": "https",
"host": [
"{{VAC}}"
],
"path": [
"v2",
"wanAccelerators",
":id"
],
"variable": [
{
"key": "id",
"value": "{{id}}"
}
]
},
"description": "Returns a resource representation of WAN Accelerator with the specified ID."
},
"response": []
}
],
"_postman_isSubFolder": true
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access_token}}",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"id": "df778696-29f0-49b0-a0a0-89e6844e5fba",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "986b1c51-f339-4ed6-9494-26909929ad73",
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment