Update a Device Configuration Collection
put
/api/config/Collections/{id}
Updates the properties of the device configuration collection that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The device configuration collection ID.Example:
1
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ConfigActionProfileID: integer
The configuration action profile ID.Example:
1002 -
ConfigAgentProfileID: integer
The configuration agent profile ID.Example:
1001 -
DeviceName: string
The device the collection pertains to.Example:
Some Device -
DeviceZoneName: string
The name of the zone the device is in.Example:
Default First Zone -
StatusID: integer
The configuration collection status ID. Either 0 (disabled) or 1 (enabled).Example:
0
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Match All
Show Source
-
object
SuccessfulUpdateOperation
The response body for a successful update operation.
-
object
type
Nested Schema : SuccessfulUpdateOperation
Type:
objectThe response body for a successful update operation.
Show Source
-
message: string
The response message.Example:
Updated record -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object-
data: array
data
The properties of the updated device configuration collection.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : data
Type:
arrayThe properties of the updated device configuration collection.
Show Source
Nested Schema : configCollectionsRead
Type:
Show Source
object-
ActionName: string
The action name.Example:
Example Action Name -
ConfigActionProfileID: integer
The configuration action profile ID.Example:
1002 -
ConfigAgentProfileID: integer
The configuration agent profile ID.Example:
1001 -
ConfigCollectionID: integer
The configuration collection ID.Example:
1003 -
DeviceID: integer
The device ID.Example:
303 -
DeviceName: string
The device name. Most commonly, this is the host FQDN.Example:
server.domain.com -
DeviceZoneName: string
The device zone name.Example:
Default First Zone -
ProfileName: string
The profile name.Example:
SSH Profile -
Status: string
The status, based on the value of the StatusID property. When StatusID is 0, Status is Disabled. When StatusID is 1, Status is Enabled.Example:
Disabled -
StatusIcon: string
The status image name based on the the statusID. If the statusID is 0, then the StatusIcon is OrbRed.png. If the statusID is 1, then the StatusIcon is OrbGreen.png.Example:
OrbRed.png -
StatusID: integer
The configuration collection status ID. Either 0 (disabled) or 1 (enabled).Example:
0
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
arrayThe list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
objectAn error.