Associate Device ID Profiles in Bulk (v2.0)
POST/sdwan/v2.0/api/deviceidprofiles/:deviceid_profile_id/operations
Associate multiple sites to a profile.
Request
Path Parameters
deviceid_profile_id stringrequired
Device ID of the profile ID.
- application/json
Body
Details of the Device ID profile and sites to be associated
- Array [
- ]
disabled boolean
Disable the device id profile.
disabled_reason string
Reason to disable the device id profile.
id string
Device ID.
inactive boolean
Device id profile (active or inactive).
inactive_reason string
Reason for profile to be inactive.
name string
Name of the device ID profile.
region string
Profile region.
sites SiteDetails[]required
The device ID site.
site_id string
The profile site ID.
type string
The device ID profile type.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
disabled boolean
Disable the device id profile.
disabled_reason string
Reason to disable the device id profile.
id string
Device ID.
inactive boolean
Device id profile (active or inactive).
inactive_reason string
Reason for profile to be inactive.
name string
Name of the device ID profile.
region string
Profile region.
sites SiteDetails[]required
The device ID site.
site_id string
The profile site ID.
type string
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"
}
],
"type": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
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"
}
]
}
}
Loading...