Languages API

Languages are a set of languages which the learning objects can belong to, like portuguese, english and etc.

Destroying a language

DELETE /v1/languages/:id

Parameters

Name Description
id The id of the language

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: Qih6eiLZxJFbv86iXFO7oQ
Client: DcMJhP_VM11HT9L8g0EppA
Uid: eldora@howell.biz
Host: example.org
Cookie: 

Route

DELETE /v1/languages/1

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/languages/1" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: Qih6eiLZxJFbv86iXFO7oQ" \
	-H "Client: DcMJhP_VM11HT9L8g0EppA" \
	-H "Uid: eldora@howell.biz"

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=c1ZHeUxtMlVDdWEyUmhmV2RQcHNOVGRCVXk1dE1rWllHdTJjM3o2SERTVkNKZE9BeE1hN1lOc2Nsc3VsU2JrdDFER2U1K1MzdEtRdGhHVS9XZHYwbCtUT2dYM053MytvajIwZTBtTEZWZjRKYWttZHNWSVNCOXpXQU5GejVlOWdjK0VoTHhXb28rNmlRMnd2Vjl6QjU0ZXl5aGRVbW1HR3o2SDN0TDc5YWIxcmJkMnNBNHpLM2Q1cGdBN2s5VTlaLS10T09haXpVYzIyUVJ5NUgvVnFmanZRPT0%3D--23e22ffc5db9e18bafa187673e3c4f77febdcc19; path=/; HttpOnly
Vary: Origin
ETag: W/"4df20f95e824b2af44a61642d88daaf0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d9826009-7ebb-4cf5-a60d-0c5de363eafc
X-Runtime: 0.093639
Content-Length: 20

Status

200 OK

Body

[binary data]