Institutions API

Institutions can be schools, universities, or any other institution.

Destroying an institution

DELETE /v1/institutions/:id

Parameters

Name Description
id The id of the institution

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: bTkCs87BCN7op5PbL6U7yQ
Client: o9FK6SyHhdh9a4fvfexL0w
Uid: floie.west@pfannerstilloberbrunner.co
Host: example.org
Cookie: 

Route

DELETE /v1/institutions/1

Body

{}

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/institutions/1" -d '{}' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: bTkCs87BCN7op5PbL6U7yQ" \
	-H "Client: o9FK6SyHhdh9a4fvfexL0w" \
	-H "Uid: floie.west@pfannerstilloberbrunner.co"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
Set-Cookie: _session_id=YjJ6bDl5QTczOFBIM1hWVVQ0cnBDZ2Z1d28xQ2p3eFptTDJiTHVBeHEvdmMxT21GMkh6dmdGQVFBN1hXQnhJeEdZVkhkbHBUUExWZjFoTHlnMDhNRGx2eG9tSllyVDhEMFJCN1RBZFZVbkxpbkM3NnFiMXhTV1o0dHJMQ0ZPQ0xqMFpiMTZESjBxUXFya01OK3VLK09XOWpqRm8xeUt2blRpZk5kTTd6K2dXVjlkSWw4ODdPK0l1aGFwd1pCT05rLS1GaGNPZm1jdllFUzlEY0RhTk1lcW9BPT0%3D--93e73535a658e9c45de6765839968843f58c9574; path=/; HttpOnly
Vary: Origin
ETag: W/"4df20f95e824b2af44a61642d88daaf0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3f0d7156-0919-43d9-8d8e-a26214310f80
X-Runtime: 0.113764
Content-Length: 20

Status

200 OK

Body

{
  "status": "deleted"
}