Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 439 Bytes

update.md

File metadata and controls

29 lines (17 loc) · 439 Bytes

Update a core

Method : PATCH

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

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

Auth required : True

Body :

{
  "status": "expended",
}

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.