This endpoint allows user to add managed accounts to a primary account.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Service name and list of accounts to add
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/managedaccounts/actions/add" \ -H "Content-Type: application/json" \ -d '{ "accountName": "1234567890-00001", "serviceName": "Location", "type": "TS-LOC-COARSE-CellID-Aggr", "managedAccList": [ "1223334444-00001", "2334445555-00001", "3445556666-00001" ] }'{ "txid": "2c90bd28-eeee-ffff-gggg-7e3bd4fbff33", "statusList": [ { "id": "1223334444-00001", "status": "Success", "reason": "Success" }, { "id": "2334445555-00001", "status": "Success", "reason": "Success" }, { "id": "3445556666-00001", "status": "Success", "reason": "Success" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}Account identifier
Service name
"Location"Value in
SKU name
managed account list