DELETE institution environments - ocariot/api-gateway GitHub Wiki

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