curl --request PUT \
--url http://localhost:8000/api/v1/companies/me/{company_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"name": "<string>",
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z"
}Update a company that the user belongs to.
curl --request PUT \
--url http://localhost:8000/api/v1/companies/me/{company_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"name": "<string>",
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z"
}The access token received from the authorization server in the OAuth 2.0 flow.
The schema for updating a company.
1 - 255