curl --request PATCH \
--url https://revive-api-v2-production.herokuapp.com/v1/contractors/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"name": "<string>",
"address": "<string>",
"state": "<string>",
"logo": "<string>",
"email": "true",
"licenseNumber": "<string>",
"insuranceCompanyName": "<string>"
}
'curl --request PATCH \
--url https://revive-api-v2-production.herokuapp.com/v1/contractors/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"name": "<string>",
"address": "<string>",
"state": "<string>",
"logo": "<string>",
"email": "true",
"licenseNumber": "<string>",
"insuranceCompanyName": "<string>"
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success