Update Actor
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/actor?id=(id)
Body : JSON
{
	"name": "New Actor Edit",
	"image_url": "https://www.themoviedb.org/t/p/w300_and_h450_bestv2/8qBylBsQf4llkGrWR3qAsOtOU8O.jpg",
	"gender": 1,
	"biography": "New Actor Bio",
	"birthday": "1980-05-05",
	"instagram_url": "https://instagram.com/",
	"twitter_url": "https://twitter.com/",
	"country_id": 1
}nameRequired
string
Name of actor.
image_url
string
Image URL of actor.
gender
integer
Gender of actor. 1 (Male) | 2 (Female)
biography
string
Biography of actor.
birthday
string (date)
Birthday of actor.
instagram_url
string
Instagram URL of actor
twitter_url
string
Twitter URL of actor
country_id
integer
Country ID of actor
Response : 200 - OK
{
	"message": "Success update actor"
}Response : 422 - Unprocessable Content
{
	"error": "Name required"
}Response : 404 - Not Found
Not FoundResponse : 500 - Server Error
Internal Server Error