Addresses
Name | Description |
---|---|
token | token |
user_id | me |
position | position |
Content-Type: application/json Host: example.org Cookie:
DELETE /api/v1/users/me/addresses/1
{"token":"foobar171"}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 Cache-Control: no-cache X-Request-Id: cd311566-42a2-4dd2-8394-0f643222b4d1 X-Runtime: 0.003986 Content-Length: 73
400 Bad Request
{ "error": { "code": "CANNOT_DELETE_ADDRESS", "message": "Invalid address id" } }