Update Studio

Update Studio

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/studio

Body : JSON

{
	"name": "New Studio Edit",
	"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Paramount_Pictures_2022_%28Blue%29.svg/175px-Paramount_Pictures_2022_%28Blue%29.svg.png",
	"city": "City Edit",
	"country_id": 1
}
nameRequired
string

Name of studio.

image_url
string

Image URL of studio.

city
string

City of studio.

country_id
integer

Country ID of studio

Response : 200 - OK

{
	"message": "Success update studio"
}

Response : 422 - Unprocessable Content

{
	"error": "Name required"
}

Response : 404 - Not Found

Not Found

Response : 500 - Server Error

Internal Server Error