DELETE institution environment by ID - ocariot/api-gateway GitHub Wiki

Description

Deletes an environment measurement data associated with an Institution.

Permissions:

  • An Application can delete any Environment of an Institution.

Scope

environment:delete

URL

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

Parameters

institution_id: string (A 24-byte hex ID)
environment_id: string (A 24-byte hex ID)

Curl example

curl -X DELETE "https://localhost/v1/institutions/5a62be07de34500146d9c624/environments/5bfc5c29d6adac2a10d22b03" -H "accept: /" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response body