Tags

September 27, 2018 ยท View on GitHub

POST /v2/tags.json

Rename a tag.

curl --request POST \
--user "example@example.com:password" \
--header "Content-Type: application/json; charset=utf-8" \
--data-ascii '{"old_name": "Old Name", "new_name": "New Name"}' \
https://api.feedbin.com/v2/tags.json

Request

{
  "old_name": "Old Name",
  "new_name": "New Name"
}

Response

Returns the new array of taggings after the rename.

[
  {
    "id": 4,
    "feed_id": 1,
    "name": "New Name"
  }
]

DELETE /v2/tags.json

Delete a tag.

curl --request DELETE \
--user "example@example.com:password" \
--header "Content-Type: application/json; charset=utf-8" \
--data-ascii '{"name": "Tag Name"}' \
https://api.feedbin.com/v2/tags.json

Request

{
  "name": "Tag Name"
}

Response

Returns the new array of taggings after the delete.

[
  {
    "id": 4,
    "feed_id": 1,
    "name": "Other Tag"
  }
]