Users API

User represents the teacher and students in the system.

Destroying an user

DELETE /v1/auth

Request

Headers

Accept: application/json
Content-Type: application/json
Access-Token: C6FLkYNhbOgrMoRDoyTpIQ
Client: kwQZwmaNVOsR3Lh7wHyR3A
Uid: aleandra@hayes.biz
Host: example.org
Cookie: 

Route

DELETE /v1/auth

cURL

curl "https://api.portalmec.c3sl.ufpr.br/v1/auth" -d '' -X DELETE \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Access-Token: C6FLkYNhbOgrMoRDoyTpIQ" \
	-H "Client: kwQZwmaNVOsR3Lh7wHyR3A" \
	-H "Uid: aleandra@hayes.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=bUJUaWE3WitUYWxXMTRMVmdtMG0raGd6VC96bmVubUVNWEd3OXIrU3pqMnBTaWlXb3RCN2VzV1BZcjcrR0lzMGtXeUVWRnhjUGovRmRudURyaTljK0hvS1c3M3ZTVUErcSsyT2Z3bUV4ZC9YYi9kcHFtQVk3VXp3SXdBK2VtM3R3czhubko2b0V4RTVDSkZJOTY0WDJwOFl2cTE5WkhjSmExRzA5MGlSNmxRNzh6UVBBVFg3M2xCcXR0bitsemJ5LS1IOVdhbHYvQ1JNR2l2eHB2OXI1U2pRPT0%3D--2672d25a1cf998e1db896b1b6dad428981456081; path=/; HttpOnly
Vary: Origin
ETag: W/"2da0575d6b3c3ef8e2d22bc807adb995"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 8326407e-a13f-43c2-8d4e-0780bbe36d40
X-Runtime: 0.110071
Content-Length: 84

Status

200 OK

Body

{
  "status": "success",
  "message": "A conta com uid 'aleandra@hayes.biz' foi excluĂ­da."
}