Users > Company

Delete current operator company’s logo

DELETE logo

Endpoint

DELETE /api/v1/users/company/attachment

Parameters

Name Description Enum
company[attachment_type] required Attachment type to remove ["logo"]

Request

Route

DELETE /api/v1/users/company/attachment

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjkwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTM2LCJleHAiOjE3NTExMDg1MzYsImp0aSI6IjI3MjIzMWUzLTFlZTgtNDgwMS1iMzFmLTMzMGY4MmM0YTMyZCJ9.MYIfU0T56_C1f99juAyHnE_fX_4w6ok1AutDC9w1sRA
Host: example.org
Cookie: 

Body

{
  "company": {
    "attachment_type": "logo"
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"375142da1873fc10cb0edc28863716b2"
cache-control: max-age=0, private, must-revalidate
x-request-id: e233b7d8-11f7-47dc-ae5f-517a48fa8357
x-runtime: 0.015006
content-length: 569

Body

{
  "record": {
    "name": "logo",
    "record": {
      "updated_at": "2025-05-29T11:02:16.227Z",
      "id": 634,
      "name": "Heller-McGlynn",
      "address": "Suite 415 714 Kellye Cape, South Lynn, NE WU8 0AE",
      "license_number": "2958813883",
      "main_operator_id": 1690,
      "created_at": "2025-05-29T11:02:16.155Z",
      "invoice_email": "tommie.bergstrom@schamberger.test",
      "vat_number": "7495669835",
      "billing_phone_number": "016977 5811",
      "billing_full_name": "Columbus Moore",
      "billing_address": "168 Justina Lake, East Jaye, MA MB8 0PL",
      "timer": 86400,
      "state": "verified",
      "rejection_reason": null,
      "due_days": 30,
      "commission": "10.0"
    }
  }
}