Share
Share

Pauses, or unpauses a share, use null for PauseState to toggle.

patch/Share/Pause

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

PauseStateboolean nullable

New state of pause, or null for toggle

Response

Share code should now reflect new pause state.

Changes

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