Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 446 Bytes

update.md

File metadata and controls

29 lines (17 loc) · 446 Bytes

Update a Dragon

Method : PATCH

URL : https://api.spacexdata.com/v4/dragons/:id

URL Parameters : id=[string] where id is the ID of the Dragon

Auth required : True

Body :

{
  "sidewall_angle_deg": 15,
}

Success Response

Code : 200 OK

Content example : OK

Error Responses

Code : 400 Bad Request

Content : Mongoose error is shown, with suggestions to fix the query.