Update Tag

Update Tag

To edit the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.

Method : PUT

URL : /api/tag

Body : JSON

{
	"id": 27,
	"name": "New Tag Edit",
	"link": "New Tag Link Edit"
}
id*Required
number

ID of tag.

name*Required
string

Name of tag.

link
string

Genre Goodread link

Response : 200 - OK

{
	"message": "Success update tag"
}

Response : 422 - Unprocessable Content

{
	"error": "Name required"
}

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error