Builder

Switch a link off (open previews close within two hours)

delete/builder/sessions/{sessionId}/share-links/{linkId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/builder/sessions/{sessionId}/share-links/{linkId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

sessionIdstring uuid required
linkIdstring uuid required

Response

The link

idstring uuid required
kind'preview' | 'review' | 'remix' required
labelstring nullable required
urlstring required

The link to hand out

hasPasswordboolean required
expiresAtstring nullable required

ISO-8601 timestamp

allowCommentsboolean required
status'active' | 'expired' | 'revoked' required
createdAtstring required

ISO-8601 timestamp

lastOpenedAtstring nullable required

ISO-8601 timestamp

opensinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.