Mime Types API

Mime Types are the types/extentions which an Object Type can have.

Destroy a mime_type

DELETE /v1/mime_types/:id

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: WPZE8YaN6sgz1qYHIPnjxQ
Client: ijvV-it6F1kRYjEk0n-35w
Uid: mariela@williamson.net
Host: example.org
Cookie: 

Route

DELETE /v1/mime_types/50

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/mime_types/50" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: WPZE8YaN6sgz1qYHIPnjxQ" \
	-H "Client: ijvV-it6F1kRYjEk0n-35w" \
	-H "Uid: mariela@williamson.net"

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=Q0ZGMHc4UDRIUXQxZTJ3YzFqQm9SZVFmVjJOVW8vOTBsNy9Xb3ViOGJkTjFLSE14dzBReldzQmlpK203Z1o0TXdZeVBIMHBsRXhlbko5ZGF5SHo5aU5ZK0ZIY0x0U2RTbW50YzhNWlBxZkhWN0kwanRFUllwcW5MY0lidThjNTBINk5rME1Lb3FPTTNMSjU4aGxsNlY3S1BOeGU2UTI5ZnpLTk95dFhWbWNzamRka1I3NEkxQ2VrWHp0MDFvVUgxLS14SGJvSWlaZ3EzUXM1a3h2aE5vR1BnPT0%3D--20ae4883a27a85c15b601fe6d39681d5dd27cf18; path=/; HttpOnly
Vary: Origin
ETag: W/"4df20f95e824b2af44a61642d88daaf0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 16af3ded-04bb-4755-b4e7-9e9e74b24285
X-Runtime: 0.106859
Content-Length: 20

Status

200 OK

Body

{
  "status": "deleted"
}