Delete a test company
DELETE https://test-data-sandbox.company-information.service.gov.uk/test-data/company/{companyNumber}
The request body takes a complete deleteTestCompanyRequestBody resource, containing the following writable properties:
{
"auth_code": "string"
}
Name | Type | Description | Additional |
---|---|---|---|
auth_code | string |
The company auth code returned when the test company was generated |
This request requires the use of one of following authorisation methods:
API key
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
204 | No Content Test company deleted |
|
401 | Unauthorized Not authorised to delete a test company |