addOrgVmwareAppAuthorization
POST https://{{host}}/api/v1/orgs/:org_id/setting/vmware/link_accounts
Body Parameters
Name | Type | Description |
---|---|---|
org_id | string | Required, org id |
instance_url | string | Required, customer account VMware instance URL |
client_id | string | Required, customer account Client ID |
client_secret | string | Required, customer account Client Secret |
Response Definitions
ame | Type | Description |
---|---|---|
linked | boolean | application linked status, is mist portal enabled for VMware |
accounts | list | List of linked VMware account details |
Request Body
{"instance_url"=>"customer account VMware instance URL", "client_id"=>"customer account api client id", "client_secret"=>"customer account api client secret"}
RESPONSES
status: OK
{"linked":true,"accounts":[{"account_id":"f43ea4c4-8a97-4159-9214-112a8c7b8f22","instance_url":"as800.airwatchportals.com","last_sync":1665465339000,"last_status":"success","linked_by":"Testname1","name":"Test Compay1 Ltd","linked_timestamp":1702284364},{"account_id":"m56ea4c4-8a10-4189-9214-113a8c7b8m82","instance_url":"as561.airwatchportals.com","last_sync":1234567890123,"last_status":"failed","linked_by":"Testname2","name":"Test Compay2 Ltd","linked_timestamp":1702284364,"error":"Get token failed, please re-link VMware"}]}