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.eyJzdWIiOiIxNjk3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjIzLCJleHAiOjE3NTU4NTgyMjMsImp0aSI6IjAyODJjZjlkLTkyNzgtNDQ2NC1iYTA3LTAzYzljMDIwNzlkYSJ9.yj0AsNUGCATy7b3bLa5qXgvFIJzTJcmOy65k7bD4Wmw
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/"b42405344b1f8a2a1c78ca3c3409488b"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3ba98849-5010-4e3e-af1f-21a39a370243
x-runtime: 0.015661
content-length: 589

Body

{
  "record": {
    "name": "logo",
    "record": {
      "updated_at": "2025-07-23T10:23:43.075Z",
      "id": 637,
      "name": "Stracke, Rolfson and Murray",
      "address": "Apt. 728 6107 Kuvalis Lights, Powlowskiburgh, MT ZP0 3JL",
      "license_number": "3799368937",
      "main_operator_id": 1697,
      "created_at": "2025-07-23T10:23:43.022Z",
      "invoice_email": "clayton@lesch.example",
      "vat_number": "5275916773",
      "billing_phone_number": "027 6051 5394",
      "billing_full_name": "Joaquin Prohaska",
      "billing_address": "1371 Jayne Mountains, Jarodborough, GA WE9A 9ND",
      "timer": 86400,
      "state": "verified",
      "rejection_reason": null,
      "due_days": 30,
      "commission": "10.0"
    }
  }
}