Content Import
Update validation hook version
Upload a new version of the JavaScript logic for an existing hook.
Authorization
accessToken AuthorizationBearer <token>
JWT Bearer Token authentication for API access
In: header
Path Parameters
hookID*integer
Integer ID of the Hook resource.
Range
1 <= value <= 9999999999Request Body
application/json
fileID?string
ID of Hook File
Format
uuidcreatedDate?createdDate
The date on which the resource was last modified.
Match
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$Format
DateAndTimeLength
20 <= length <= 25createdBy?
modifiedDate?modifiedDate
The date on which the resource was last modified.
Match
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$Length
20 <= length <= 25modifiedBy?
version?
file?
Response Body
application/json
curl -X POST "https://example.com/knowledge/contentmgr/v4/import/config/hooks/1/version" \ -H "Content-Type: application/json" \ -d '{}'Empty

