Delete a test company

Request

DELETE https://test-data-sandbox.company-information.service.gov.uk/test-data/company/{companyNumber}

Request body

The request body takes a complete deleteTestCompanyRequestBody resource, containing the following writable properties:

{
    "auth_code": "string"
}

Properties

Name Type Description Additional
auth_code string

The company auth code returned when the test company was generated

Authorisation

This request requires the use of one of following authorisation methods: API key .

Response

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