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: Ld3MlVjON29t4pBwOrUY5Q
Client: J6KhqcWRl7Tysd4Pj2JltA
Uid: verla@hintz.io
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: Ld3MlVjON29t4pBwOrUY5Q" \
	-H "Client: J6KhqcWRl7Tysd4Pj2JltA" \
	-H "Uid: verla@hintz.io"

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=NGE5RXhLVm00Q1JJZDVOamY0aW9hRVliQ1RFbTJuQmw4NkNFaUZDWGp2OGFaOGcvR2VzdVZtWS9NbzFYZ09lWm8wY0pOTG5zRnhIRzRHU2NObGNvcm5qUzVsU3JxOU5NUWVVN0NQR1NyWHMvalB1aGFUOXMzYWpLVkQxOW50UDViSDFtM1BDTGF1MXhCSkZHTDZQSXRlanZyZEMyWlJGLytkVUUwcGczMDJWajdKQXpUTlAvbTZudWNrRWVLMHVaLS1YZE5iU1djdnRjeXR0TTlQNlFuWTV3PT0%3D--0bf2d9e0653a066b1a704dc15581bcfcc6d379c9; path=/; HttpOnly
Vary: Origin
ETag: W/"36a9e7f1c95b82ffb99743e0c5c4ce95"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 9a5e28cf-8041-457e-831b-1d3261353bd7
X-Runtime: 0.100285
Content-Length: 1

Status

200 OK

Body