For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Company

Delete a specific company with no services

GET or POST Request

https://v1.api19.com/ra/companies/delete

Delete a specific company

Argument

Required

Type

company_id

yes

company id

key

yes

your api key

curl https://v1.api19.com/ra/companies/delete \
 -d 'company_id=h329fh23r' \
 -d 'key=api_token'
curl https://v1.api19.com/ra/companies/delete?company_id=32yg23&key=apikey
OK:
{
    "status": "ok"
}

ERROR:
{
    "status": "error",
    "error": "Company has registered agents" 
}

Last updated