Share
Share

Sets whether or not the share can create links.

patch/Share/Link

Request

  • Base URL
    https://api.pishock.com
  • Auth
    • API key in header X-PiShock-Token
    • or API key in header X-PiShock-UserId
    • or API key in header X-PiShock-Server-Key
    • or API key in header X-PiShock-Api-Key

Request body

ShareIdinteger

Id of the share to modify

LinkCreationStateboolean nullable

New state of CanCreateLinks, or null for toggle

Response

Share code should now reflect new CanCreateLinks state.

Changes

No recorded changes to this operation across all 6 revisions of this API.