GET api/Companies/CompanyId={id}AndDeleteSite={deleteSite}AndDeletedoc={deleteDoc}
Delete Company and all related content ( if mentionned )
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| deleteSite | boolean |
Required |
|
| deleteDoc | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Companies| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| OfferId | integer |
None. |
|
| StripeId | string |
None. |
|
| Name | string |
None. |
|
| TotalUsers | integer |
None. |
|
| TotalSites | integer |
None. |
|
| SuperAdminId | integer |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
|
| StatTemplateId | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"CompanyId": 1,
"OfferId": 2,
"StripeId": "sample string 3",
"Name": "sample string 4",
"TotalUsers": 5,
"TotalSites": 6,
"SuperAdminId": 1,
"LastChanged": "2026-01-10T04:42:39.8089755+00:00",
"LastChange_AuthorId": 1,
"StatTemplateId": "016ff1c9-ef34-4199-b437-0cf78d4177fd",
"CreationDate": "2026-01-10T04:42:39.8089755+00:00"
}
application/xml, text/xml
Sample:
<Companies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <CompanyId>1</CompanyId> <CreationDate>2026-01-10T04:42:39.8089755+00:00</CreationDate> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2026-01-10T04:42:39.8089755+00:00</LastChanged> <Name>sample string 4</Name> <OfferId>2</OfferId> <StatTemplateId>016ff1c9-ef34-4199-b437-0cf78d4177fd</StatTemplateId> <StripeId>sample string 3</StripeId> <SuperAdminId>1</SuperAdminId> <TotalSites>6</TotalSites> <TotalUsers>5</TotalUsers> </Companies>