Places

Remove a place

Deleting the active place switches to home, so something is always in force. Home itself cannot go while another place exists (HOME_IN_USE, 409) — make another one home first. Past sessions are unaffected: each day's history records the set it was written from, not which place it came from, so a deleted place leaves every past day explicable.

delete/equipment/places/{id}

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/equipment/places/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Opaque identifier.

Headers

X-Client-Platformstring

The native client's platform, e.g. ios. Server-side and non-native callers omit it.

X-Client-Versionstring

The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).

Response

No content.

Changes

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