Site share links

Control how you share docs externally by managing share links for a site.

Manage the lifecycle of share links for your published sites. This includes generating new links for external sharing and revoking or updating existing ones.

Attributes
objectstring · enumRequired

Type of Object, always equals to "share-link"

Possible values:
idstringRequired

Unique identifier for the share-link

createdAtstring · date-timeRequired
namestring · max: 50Optional

Name of the share link

activebooleanOptional

The ShareLink object

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

siteIdstringRequired

The unique id of the site

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Responses
200

OK

application/json
Responseall of
get
/orgs/{organizationId}/sites/{siteId}/share-links
200

OK

Create a share link

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

siteIdstringRequired

The unique id of the site

Body
namestring · max: 50Required

Name of the share link

Responses
post
/orgs/{organizationId}/sites/{siteId}/share-links
201

The share link has been created

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

siteIdstringRequired

The unique id of the site

shareLinkIdstringRequired

The unique id of the share link

Responses
delete
/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}

No content

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

The unique id of the organization

siteIdstringRequired

The unique id of the site

shareLinkIdstringRequired

The unique id of the share link

Body
activebooleanOptional
namestring · max: 50Optional

Name of the share link

Responses
200

The site share link has been updated

application/json
patch
/orgs/{organizationId}/sites/{siteId}/share-links/{shareLinkId}
200

The site share link has been updated

Last updated

Was this helpful?