Update a comment
PUT/kms/{connection_id}/comment/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Comment
Payload
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
type enum
Valid values:
"PAGE_INLINE"
"PAGE"
content_type enum
Valid values:
"HTML"
"MARKDOWN"
"TEXT"
"OTHER"
contentstring
user_idstring
(reference to HrisEmployee)
page_idstring
(reference to KmsPage)
parent_idstring
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
type enum
Valid values:
"PAGE_INLINE"
"PAGE"
content_type enum
Valid values:
"HTML"
"MARKDOWN"
"TEXT"
"OTHER"
contentstring
user_idstring
(reference to HrisEmployee)
page_idstring
(reference to KmsPage)
parent_idstring
const options = {
method: 'PUT',
url: 'https://api.unified.to/kms/5de520f96e439b002043d8dc/comment/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know