Share
Share

Sets whether or not the share can log.

patch/Share/Log

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

LogStateboolean nullable

New state of CanLog, or null for toggle

Response

Share code should now reflect new CanLog state.

Changes

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