Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Update a fleet

PATCH
/fleets/{fleetId}

Authorizations

Parameters

Path Parameters

fleetId
required
string

Request Body required

object
name
string
My fleet
companyAddress
string
email
string
mail@domain.com
vat
string

Responses

200

Fleet updated

Examples

Example with cURL

curl -X PATCH http://localhost:3005/fleets/{fleetId} \
-H 'Authorization: Bearer <your_token_here>' \
-H 'Content-Type: application/json' \
-d '{"name":"My fleet","companyAddress":"string","email":"mail@domain.com","vat":"string"}'