Object Type API

Object Types are the types of the objects.

Destroying an object_type

DELETE v1/object_types/:id

Parameters

Name Description
id The id of the object_type

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: xa7TjU7HrPsRsfTGi0obIA
Client: Apdn5Q367iAqzsD6lQs-5A
Uid: sheila.little@brekke.org
Host: example.org
Cookie: 

Route

DELETE v1/object_types/1

cURL

curl "https://api.portalmec.c3sl.ufpr.brv1/object_types/1" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: xa7TjU7HrPsRsfTGi0obIA" \
	-H "Client: Apdn5Q367iAqzsD6lQs-5A" \
	-H "Uid: sheila.little@brekke.org"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: text/plain; charset=utf-8
Set-Cookie: _session_id=akN0bDdHRVZDYXFjQ2htdVFtVWRlbjhMeHV0c2ZVU2tFa040VktQbTc1K01ZUC95M1BFMGNKZnVaOWhjWG05MmVEdWZPWXlNNlJ1OFA3WnFncjMzZXYweHRFMFpFMFV0LzZLMUxTRWpCOVhtQXdNVDhhMnlNMmYzQ2ZBcGxoRTFkV0ZkdHVsSnhpYjF0ZTQ4R1dIS29Hd1BmSTVlNWhHdlowdHdlbTN3bWRpVmh5TEo4eFF5bkNKTVk3TWVLeWhNLS04S2tFMGMvUEJYMEkyZmJtYjk5Rmx3PT0%3D--e3b88477642e99a775d93cfc4c4d56fa59bb492b; path=/; HttpOnly
Vary: Origin
ETag: W/"36a9e7f1c95b82ffb99743e0c5c4ce95"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 2d8f510a-ad91-46bc-af9e-8186fbd65928
X-Runtime: 0.095939
Content-Length: 1

Status

200 OK

Body

[binary data]