Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 950 Bytes

DELETE_photos_id_tags.md

File metadata and controls

47 lines (31 loc) · 950 Bytes

Photo Resources

DELETE photos/:id/tags

Description

Removes tags from the photo. Accepts one or multiple coma separated tags.


Requires authentication

OAuth


Parameters

  • id (required) — The Photo ID to remove tags from.
  • tags (required) — Coma separated tags.

Return format

A JSON object with key "status" and value of 200, and key "message" with value of "Successfully deleted tags."


Errors

All known errors cause the resource to return HTTP error code header together with a JSON array containing at least 'status' and 'error' keys describing the source of error.

  • 404 Not Found — The photo was not found.

Example

Request

DELETE /v1/photos/8309863/tags?tags=cute,puppy

Return

{
  "status":200,
  "message":"Successfully deleted tags.",
  "error":"None"
}