Access Tenant APIs Using MSP Access Token

MSP Managed Service Provider. The Managed Service Provider (MSP) mode is a multi-tenant operational mode that Aruba Central accounts can be converted into, provided these accounts have subscribed to the Aruba Central app. users can use their access token to perform the operation on their tenant accounts using NBAPI. User privileges as per the tenant role are applied for these operations. An MSP user must provide the tenant info (CID Customer ID is an authentication mechanism used within computing systems, networks, and applications.) as part of the request header.

The Rate-limit will be consumed from the MSP account quota.

Table 1: Header for the API

Header

Value

TenantID

267958b55d5a463e94a302c20f4a6b68

Example

Request Method: GET GET refers HTTP request method or an SNMP operation method. The GET HTTP request method submits data to be processed to a specified resource. The GET SNMP operation method obtains information from the Management Information Base (MIB).

https://app1-apigw.central.arubanetworks.com/central/v2/sites

Request Header:

TenantID: 267958b55d5a463e94a302c20f4a6b68

Response Code: 200

Response:

{

"count": 1,

"sites": [

{

"address": "bangalore",

"associated_device_count": 4,

"city": "bangalore",

"country": "India",

"latitude": "12.9298689",

"longitude": "77.6848366",

"site_id": 1,

"site_name": "test-pcap",

"state": "Karnataka",

"tags": null,

"zipcode": "560103"

}

],

"total": 1

}