Associate Device ID Profiles in Bulk (v2.0)
POST/v2.0/api/tenants/:tenant_id/deviceidprofiles/:deviceid_profile_id/operations
Associate multiple sites to a profile.
Request
Path Parameters
ID of the tenant.
Device ID of the profile ID.
- application/json
Body
Details of the Device ID profile and sites to be associated
- Array [
- ]
Disable the device id profile.
Reason to disable the device id profile.
Device ID.
Device id profile (active or inactive).
Reason for profile to be inactive.
Name of the device ID profile.
Profile region.
sites SiteDetails[]required
The device ID site.
The profile site ID.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
The device ID profile type.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Disable the device id profile.
Reason to disable the device id profile.
Device ID.
Device id profile (active or inactive).
Reason for profile to be inactive.
Name of the device ID profile.
Profile region.
sites SiteDetails[]required
The device ID site.
The profile site ID.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
The device ID profile type.
{
"disabled": true,
"disabled_reason": "string",
"id": "string",
"inactive": true,
"inactive_reason": "string",
"name": "string",
"region": "string",
"sites": [
{
"site_id": "string"
}
],
"tenant_id": "string",
"type": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "DEVICEID_INVALID_PROFILE_OPERATION"
},
{
"code": "DEVICEID_SITES_MISSING"
},
{
"code": "DEVICEID_DUPLICATE_SITE_DETECTED"
},
{
"code": "DEVICEID_INVALID_DEVICEID_PROFILE"
},
{
"code": "DEVICEID_INVALID_SITE_IDS"
},
{
"code": "DEVICEID_PROFILE_UPDATE_FAILED"
},
{
"code": "DEVICEID_LOCAL_SNMP_DISCOVERY_CANNOT_BE_ENABLE_FOR_DC_SITE"
}
]
}
}