curl --request PUT \
--url https://api.gleap.io/v3/helpcenter/collections/{helpcenterCollectionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<any>",
"description": "<any>",
"iconUrl": "<string>",
"project": "<string>",
"lexorank": "<string>",
"docId": 123,
"parent": "<string>",
"externalId": "<string>",
"targetAudience": "all",
"baseAudienceFilter": "<any>",
"extendedAudienceFilter": "<any>"
}'
{
"updatedAt": "<string>",
"createdAt": "<string>",
"iconUrl": "<string>",
"extendedAudienceFilter": "<any>",
"baseAudienceFilter": "<any>",
"externalId": "<string>",
"docId": 123,
"lexorank": "<string>",
"project": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<any>",
"prototype": "<string>"
},
"parent": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<any>",
"prototype": "<string>"
},
"title": "<any>",
"description": "<any>",
"targetAudience": "<string>"
}
curl --request PUT \
--url https://api.gleap.io/v3/helpcenter/collections/{helpcenterCollectionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<any>",
"description": "<any>",
"iconUrl": "<string>",
"project": "<string>",
"lexorank": "<string>",
"docId": 123,
"parent": "<string>",
"externalId": "<string>",
"targetAudience": "all",
"baseAudienceFilter": "<any>",
"extendedAudienceFilter": "<any>"
}'
{
"updatedAt": "<string>",
"createdAt": "<string>",
"iconUrl": "<string>",
"extendedAudienceFilter": "<any>",
"baseAudienceFilter": "<any>",
"externalId": "<string>",
"docId": 123,
"lexorank": "<string>",
"project": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<any>",
"prototype": "<string>"
},
"parent": {
"isValid": {},
"createFromHexString": {},
"createFromTime": {},
"generate": {},
"cacheHexString": "<any>",
"prototype": "<string>"
},
"title": "<any>",
"description": "<any>",
"targetAudience": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Ok
The response is of type object
.