---
title: "DELETE /companies/{companySlug}/contacts/{contactId}"
method: DELETE
path: "/companies/{companySlug}/contacts/{contactId}"
tags: ["contacts"]
---

# DELETE /companies/{companySlug}/contacts/{contactId}

`DELETE /companies/{companySlug}/contacts/{contactId}`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/contacts/{contactId}`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Deletes the contact if possible (no associated journal entries/sales/invoices/etc). If not possible to delete will set the contact to inactive

## Response `200`

Contact set to inactive because it has associated journal entries/sales/invoices/etc.

- Contact
  - `contactId` integer
  - `createdDate` string, date: Date that contact was created in Fiken, format yyyy-mm-dd.
  - `lastModifiedDate` string, date: Date that contact was last modified in Fiken, format yyyy-mm-dd.
  - `name` string, required
  - `email` string
  - `organizationNumber` string: Brreg organization number.
  - `customerNumber` integer
  - `customerAccountCode` string: Format 1500:XXXXX
  - `phoneNumber` string
  - `memberNumber` number: A number that can be used to connect a contact to your own data. This field is no longer used and instead memberNumberString should be used.
  - `memberNumberString` string: A number/id that can be used to connect a contact to your own data.
  - `supplierNumber` integer
  - `supplierAccountCode` string: Format 2400:XXXXX
  - `customer` boolean: True if the contact is a customer. It is possible for a contact to be both customer and supplier.
  - `supplier` boolean: True if the contact is a supplier. It is possible for a contact to be both supplier and customer.
  - `bankAccountNumber` string
  - `contactPerson` ContactPerson[]
    - `contactPersonId` integer
    - `name` string, required
    - `email` string, required
    - `phoneNumber` string
    - `address` Address
      - `streetAddress` string
      - `streetAddressLine2` string
      - `city` string
      - `postCode` string
      - `country` string, required
  - `notes` ContactNote[]
    - `author` string
    - `note` string
  - `currency` string: ISO 4217 currency code. Default foreign currency to use when creating invoice to this contact (USD, EUR, SEK etc)
  - `language` string, nullable: The language to use when sending documents to this contact. NORWEGIAN or ENGLISH. Defaults to NORWEGIAN.
  - `inactive` boolean: Whether the contact has been deactivated (true) or is active (false)
  - `daysUntilInvoicingDueDate` integer: Default number of days until due date for invoices.
  - `discount` number: Discount value should be a percent with a value between 0 and 100. Decimal values such as 25.5 are also allowed.
  - `address` Address
    - `streetAddress` string
    - `streetAddressLine2` string
    - `city` string
    - `postCode` string
    - `country` string, required
  - `groups` string[]
  - `documents` Attachment[]
    - `uuid` string, uuid: Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.
    - `filename` string: The name of the underlying file.
    - `identifier` string: User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.
    - `downloadUrl` string: For use with API credentials (bearer token or oauth 2)
    - `downloadUrlWithFikenNormalUserCredentials` string: Requires the user to login with username and password in Fiken.
    - `comment` string: Field for additional information for this attachment.
    - `type` 'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'

## Other responses

- `204`: Contact deleted successfully.

## Changes

- **2026-09-03** `2473dacdb89c`: 2 info
  - added the optional property `documents/items/filename` to the response with the `200` status
  - added the optional property `documents/items/uuid` to the response with the `200` status
- **2026-03-28** `dff97b55851e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/contacts/:contactId/delete.md)

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) - [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/29111da67f94?raw)
