Update a Device Configuration Profile
put
/api/config/Profiles/{id}
Updates the properties of the device configuration profile that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The device configuration profile ID.Example:
1
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
ConfigAgentProfileTypeID: integer
The configuration agent profile type ID. The possible values are 1 for SSH and 2 for Telnet.Example:
1
-
ConfigAgentProfileTypeName: string
The configuration agent profile type name.Example:
SSH
-
EmailAddresses: string
The email address.Example:
abc@email.com
-
LoginPrompt: string
Only used when profile type is Telnet. This is an optional field.Example:
-
Message: string
MessageExample:
Example Message
-
NotificationProfile: integer
The notification profile ID.Example:
51
-
NotificationTemplate: integer
The notification template ID.Example:
50
-
ProfileDescription: string
The profile description.Example:
Example Description
-
ProfileName: string
The profile name.
To avoid confusion with numeric IDs, the name value cannot be integers only or integers prefixed with the + or - symbols only. It must contain letters or other characters. For example, 1234, +1234, and -1234 are not valid, but US1234, US+1234 and US_1234 are.Example:SSH Profile
-
ProfilePassword: string
The profile password.Example:
myFakePassword
-
ProfileStatus: integer
Whether the profile is enabled (1 or disabled 0).Example:
1
-
ProfileUser: string
The profile user.Example:
Default
-
TelnetPort: integer
Only used when profile type is Telnet. The value can be anything between 1 to 65535.Example:
80
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:
object
The 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 profile.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : data
Type:
array
The properties of the updated device configuration profile.
Show Source
Nested Schema : configProfilesRead
Type:
Show Source
object
-
ConfigAgentProfileTypeID: integer
The configuration agent profile type ID. The possible values are 1 (SSH) and 2 (Telnet).Example:
1
-
ConfigAgentProfileTypeName: string
The configuration agent profile type name.Example:
SSH
-
EmailAddresses: string
The email address.Example:
abc@email.com
-
LoginPrompt: string
The login prompt.Example:
Customized
-
Message: string
MessageExample:
Example Message
-
NotificationProfile: integer
The notification profile ID.Example:
51
-
NotificationTemplate: integer
The notification template ID.Example:
50
-
ProfileDescription: string
The profile description.Example:
Example Description
-
ProfileName: string
The profile name.Example:
SSH Profile
-
ProfileStatus: integer
Whether the profile is enabled (1) or disabled (0).Example:
1
-
ProfileUser: string
The profile user.Example:
Default
-
TelnetPort: integer
The telnet port.Example:
23
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
-
Array of:
object items
An error.
Nested Schema : items
Type:
object
An error.