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.eyJzdWIiOiIxNjM1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg5LCJleHAiOjE3NDAxNDM1ODksImp0aSI6IjA4NDEwNDUzLWVjZjYtNDAyYi05ODk2LTM4Yzc1ZDY5Y2M0ZCJ9.KBErGqS_u4nbRM1MCvjY_jym-cVwue1pPiL0Oxtp7PM
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/"db0ed13c9d95c9b282ba99c6d87a68e6"
cache-control: max-age=0, private, must-revalidate
x-request-id: f3201b43-832a-44fa-a25e-af660541a3e9
x-runtime: 0.013057
content-length: 574

Body

{
  "record": {
    "name": "logo",
    "record": {
      "updated_at": "2025-01-22T13:13:09.233Z",
      "id": 612,
      "name": "Schaden-Schroeder",
      "address": "79322 Ida Stravenue, VonRuedenstad, TX UO0 9AN",
      "license_number": "3771637430",
      "main_operator_id": 1635,
      "created_at": "2025-01-22T13:13:09.169Z",
      "invoice_email": "lenard_trantow@mccullough-morissette.example",
      "vat_number": "9924116115",
      "billing_phone_number": "0119 786 1610",
      "billing_full_name": "Gerri Breitenberg",
      "billing_address": "421 Hills Springs, South Junitafort, PA YE0R 1BA",
      "timer": 86400,
      "state": "verified",
      "rejection_reason": null,
      "due_days": 30
    }
  }
}