Skip to content

DELETE child weight by ID

JeffMedeiros edited this page Nov 29, 2019 · 1 revision

Description

Deletes a weight measurement data associated with a Child.

Permissions:

  • An Application can delete any Weight of any Child.

  • An Educator can delete any Weight of any Child as long as the Child belongs to one of their groups.

  • A Family user can delete any Weight of any Child associated with it.

Scope

measurements:delete

URL

DELETE https://localhost/v1/children/{child_id}/weights/{weight_id}

Parameters

child_id: string (A 24-byte hex ID)
weight_id: string (A 24-byte hex ID)

Curl example

curl -X DELETE "https://localhost/v1/children/5a62be07d6f33400146c9b61/weights/5c5277b8004ce629c1eef323" -H "accept: /" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response body

OCARIoT users

Integration endpoints

auth

users

institutions

children

children.physicalactivities

children.logs

children.sleep

children.weights

children.bodyfats

educators

educators.children.groups

families

families.children

healthprofessionals

healthprofessionals.children.groups

applications

institutions.environments

fitbit

fitbit.subscriber

users.fitbit.auth

users.fitbit.sync

Error patterns

400 Validation Errors

Clone this wiki locally