Deletes a share link
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
shareLinkIdstringRequired
The unique id of the share link
Responses
204
Site share link did not exist
No content
205
Site share link has been deleted
delete/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
DELETE /v1/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?