Required role: | superadmin |
DELETE | /superadmin/company/{Id} | Deletes a customer and everything realted to customer, including administrators and bookings etc. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | query | Guid? | No | Enter the companyId for the customer |
Id | path | Guid | Yes | Id (guid) of company you wish to delete. |
GotApprovedByAdmin | query | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | form | Guid? | No | |
ActiveLicenses | form | List<License> | No | |
Comment | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Type | form | LicenseType | No | |
CompanyId | form | Guid | Yes | |
Id | form | int | No | |
TypeId | form | int | Yes | |
ValidFrom | form | DateTime | Yes | |
ValidTo | form | DateTime | Yes | |
Active | form | bool | Yes | |
Updated | form | DateTime | Yes | |
Created | form | DateTime | Yes | |
ModifiedDate | form | DateTimeOffset? | No | |
MetaData | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LicenseItems | form | IList<LicenseTypeItem> | No | |
Prices | form | IList<LicensePrice> | No | |
PeriodOfNoticeDays | form | int | No | |
NextLicenseOption | form | LicenseType | No | |
Name | form | string | Yes | |
Description | form | string | Yes | |
ExtraLicenseOption | form | bool | Yes | |
ModifiedDate | form | DateTimeOffset? | No | |
Active | form | bool | No | |
Id | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
LicenseType | form | LicenseType | No | |
LicenseTypesId | form | int | Yes | |
LicenseItemsId | form | int | Yes | |
NumberOfItems | form | int | Yes | |
Id | form | int | No | |
ModifiedDate | form | DateTimeOffset? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Country | form | Country | No | |
MonthlyPayment | form | bool | No | |
LicenseTypeId | form | int | Yes | |
CountryId | form | string | Yes | |
Price | form | int | Yes | |
ModifiedDate | form | DateTimeOffset? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CurrencyId | form | string | No | |
CurrencyInfo | form | Currency | No | |
Name | form | string | Yes | |
Culture | form | string | No | |
TimeZone | form | string | No | |
ModifiedDate | form | DateTimeOffset? | No | |
Id | form | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | |
CurrencySign | form | string | Yes | |
Active | form | bool | Yes | |
ModifiedDate | form | DateTimeOffset? | No | |
Id | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /superadmin/company/{Id} HTTP/1.1 Host: api.bokamera.se Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {Unable to show example output for type 'DeletedCustomerInfoResponse' using the custom 'csv' filter}One or more errors occurred. (License type not handled in NextLicenseOption)