Path parameters
-
Identifier of the movie
Format should match the following pattern:
^[A-Za-z0-9\\-]{1,100}$
.
DELETE
/movies/{movieId}
curl \
-X DELETE http://api.example.com/movies/{movieId} \
-H "Authorization: $API_KEY"
Response examples (200)
{
"movieId": "string",
"title": "string",
"year": 42,
"category": "string",
"budget": "string",
"boxOffice": "string"
}
Response examples (400)
{
"message": "Error message"
}
Response examples (401)
{
"message": "Error message"
}
Response examples (403)
{
"message": "Error message"
}
Response examples (404)
{
"message": "Error message"
}
Response examples (422)
{
"message": "Error message"
}
Response examples (500)
{
"message": "Error message"
}
Response examples (502)
{
"message": "Error message"
}
Response examples (504)
{
"message": "Error message"
}