Delete a GitBook Agent channel from a site
Removes the channel configuration from the site, so GitBook Agent stops answering and collaborating through the connected platform. The app itself is not uninstalled and its access is not revoked on the platform, so remove it there as well to fully disconnect.
delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$siteIdstringRequired
The unique id of the site
siteChannelIdstringRequired
The unique id of the site channel
Responses
204
Site channel did not exist
No content
205
Site channel deleted
delete/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
DELETE /v1/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?