Skip to content

DELETE institution environments

JeffMedeiros edited this page Nov 29, 2019 · 1 revision

Description

Deletes all environment measurement data associated with an Institution.

Permissions:

  • An Application can delete all Environments of an Institution.

Scope

environment:delete

URL

DELETE https://localhost/v1/institutions/{institution_id}/environments

Parameters

institution_id: string (A 24-byte hex ID)

Curl example

curl -X DELETE "https://localhost/v1/institutions/5a62be07de34500146d9c624/environments" -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