addOrgVmwareAppAuthorization

POST https://{{host}}/api/v1/orgs/:org_id/setting/vmware/link_accounts

Body Parameters

NameTypeDescription
org_idstringRequired, org id
instance_urlstringRequired, customer account VMware instance URL
client_idstringRequired, customer account Client ID
client_secretstringRequired, customer account Client Secret

Response Definitions

ameTypeDescription
linkedbooleanapplication linked status, is mist portal enabled for VMware
accountslistList 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"}]}