Contacts API

Are the contact forms of the API.

Destroy a contact

DELETE /v1/contacts/:id

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: _IwyjIwS5KCTCSGGzWBbeQ
Client: aet68N5ngdAwz3iyMlKkzA
Uid: paula_schmidt@gaylord.co
Host: example.org
Cookie: 

Route

DELETE /v1/contacts/50

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/contacts/50" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: _IwyjIwS5KCTCSGGzWBbeQ" \
	-H "Client: aet68N5ngdAwz3iyMlKkzA" \
	-H "Uid: paula_schmidt@gaylord.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=OWt6MVBZNTBGcHByZEgyQUVlNzgybHRtdnhWd1ZvUkZQNFZFMHlPOGpWRWdzMk1iL29xZEFkRFRtRzdwcnUzZUxLRG16OXp3SWRuR3QrL0hwcGs3TlRlK281Q3k2bFpkTEVvN25Va3FHcFptaXZPMlBoRUs0LzkxeWVrTnRQeXZOdDBMektqZ3I2WEhiNVFCV0ZsY0ExMGdydmhha21nc2o0c3hpd1lJZVRnVnBCb2pxS3dGbEErYzNUdDQ1ZVVTLS1VZXpKUXdOZklOcVJKd1pCOWdBR1FRPT0%3D--61d21b9dc87877a5259e7429751c89c483bd8e05; path=/; HttpOnly
Vary: Origin
ETag: W/"4df20f95e824b2af44a61642d88daaf0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 5836e8fd-510c-4b37-8d23-a73c048afdab
X-Runtime: 0.093562
Content-Length: 20

Status

200 OK

Body

{
  "status": "deleted"
}