curl --request DELETE \
--url https://api.upwell.com/api/rest/companies/{id} \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>"
}
'{
"deleteCompany": {
"deletedAt": "2023-11-07T05:31:56Z",
"id": "<string>"
}
}Delete a company by its ID.
curl --request DELETE \
--url https://api.upwell.com/api/rest/companies/{id} \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>"
}
'{
"deleteCompany": {
"deletedAt": "2023-11-07T05:31:56Z",
"id": "<string>"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
"id" is required (enter it either in parameters or request body)
Query parameters can also be provided in the request body as a JSON object
Responses for DELETE /api/rest/companies/{id}
Companies table - stores all company entities with their branding, contact info, and MC numbers. Each tenant can have multiple companies for different divisions or legal entities.