Edit ADOMs assigned to an organization
Method |
URL |
Description |
Arguments |
Outputs |
---|---|---|---|---|
POST |
device/adom/customer/{Organization ID}/ |
Add or remove ADOMs assigned to the specified organization |
Organization ID |
JSON array |
Arguments (URL)
Parameter |
Type |
Description |
---|---|---|
Organization ID |
int |
Organization ID |
Arguments (JSON payload)
Parameter |
Type |
Description |
---|---|---|
adoms |
array |
A list of ADOM IDs assigned to the organization. Include IDs to be added, omit IDs to be removed. |
Outputs
Parameter |
Type |
Description |
---|---|---|
status |
JSON array |
A success or failure message |
Example request
curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Token 7f89ef48dc5bca218a8ac0268653ffafa74ce6a6ed7a8a703e113b13219b18a6" -d '{"adoms": [8,10,12]}' https://<ip_address>/fpc/v1/api/device/adom/customer/1/
Example response
{
"status" : {
"code" : 0,
"message" : "success"
}
}