Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.1 KB

image_delete_ability_not_in_search_token.markdown

File metadata and controls

43 lines (31 loc) · 1.1 KB

Image API API

image_delete ability not in search token

DELETE /api/v1/images/:id

Request

Headers

Authorization: Token token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJxIjoiMDBEMjQwMDAwMDBZcDdnRUFDIiwiaXNzIjoiMzZiNzM0ZDQtMTljNi00N2UxLWFiODUtNzhjMzU2NWI3NWFmIn0.TjhSHecAVAkGGjt9gqkqpXqXvSC_XsV_DhjzZTF0zL0"
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /api/v1/images/82a60628-70ff-49c2-9152-3e291d227aab

Response

Headers

Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
X-message: Access denied
Content-Type: text/html
Vary: Accept-Encoding
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
X-Request-Id: 6a064696-5ed3-4854-95a5-0fa039a9d1f0
X-Runtime: 0.008852
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Length: 0

Status

401 Unauthorized