Hub
Hub

Changes the display name of the hub.

patch/Hub/Name

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

HubIdinteger

Id of the hub to change the name of, you must own the hub to rename it.

Namestring

New display name of the hub.

Response

Hub has been renamed.

Changes

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