Delete a contact

Delete a contact from a draft company.

Use this endpoint to remove a contact. The response body is empty.

📘

Part of Company contacts. For how this fits into onboarding, see the guide: Collecting company information: contacts.

If you delete the primary contact, the company has no primary contact until you make another one primary (PRIMARY_CONTACT in readiness.missing).

When you can call this

Only while the onboarding is a DRAFT and the contract documents haven't been signed. Otherwise it returns 409.

Errors

StatusMeaning
401The API key is missing, malformed or expired.
404The company or the contact wasn't found.
409The onboarding is no longer a DRAFT, or the contract has been signed.
Path Params
integer
required

The company's ID, as returned when the company was created.

integer
required

The contact's ID.

Responses
200

The contact was deleted. The response body is empty.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json