Places

Rename a place, or change what is there

Either field, or both; omitting one leaves it alone. items replaces the whole set, so what is sent is what is there — an empty object is somewhere with nothing in it. The one-off in force today can have its set changed but not its name: it has none, and is identified in the list response rather than by one.

patch/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).

Request body

namestring
itemsobject

Response

No content.

Changes

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