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
Config Action Profile IDExample:
1002
-
ConfigAgentProfileID: integer
Config Agent Profile IDExample:
1001
-
DeviceName: string
The device the collection pertains to.Example:
Some Device
-
DeviceZoneName: string
The name of the zone the device is inExample:
Default First Zone
-
StatusID: integer
Status ID Allowed Values: - 0 => Disabled - 1 => EnabledExample:
0
Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulUpdateOperation
Type:
Show Source
object
-
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:
array
The properties of the updated device configuration collection.
Show Source
Nested Schema : configCollectionsRead
Type:
Show Source
object
-
ActionName: string
Action NameExample:
Example Action Name
-
ConfigActionProfileID: integer
Config Action Profile IDExample:
1002
-
ConfigAgentProfileID: integer
Config Agent Profile IDExample:
1001
-
ConfigCollectionID: integer
Config Collection IDExample:
1003
-
DeviceID: integer
Device IDExample:
303
-
DeviceName: string
Device Name most commonly Host FQDNExample:
server.domain.com
-
DeviceZoneName: string
Device zone name.Example:
Default First Zone
-
ProfileName: string
Profile NameExample:
SSH Profile
-
Status: string
Status based on StatusID. - If StatusID is 0, Status will be "Disabled" - If StatusID is 1, Status will be "Enabled"Example:
Disabled
-
StatusIcon: string
Status image name based on StatusID. - If StatusID is 0, StatusIcon will be "OrbRed.png" - If StatusID is 1, StatusIcon will be "OrbGreen.png"Example:
OrbRed.png
-
StatusID: integer
Status ID Allowed Values: - 0 => Disabled - 1 => EnabledExample:
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:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object