Delete current operator company’s logo
Users > Company
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.eyJzdWIiOiIxNjY2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ4LCJleHAiOjE3NDUwNTY5NDgsImp0aSI6IjQ1ZDk4YTE3LTFiN2ItNDQ5NC05YTM0LWI3YjA3MzNmZTc2NyJ9.hH2GWjdadxRuVgt7Q__DEwPfiPiVyJKOtxyCSXXKHic
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/"3a4b71a4fe11a1aec25cf5af451d5352"
cache-control: max-age=0, private, must-revalidate
x-request-id: 049b7f63-eb20-47b5-8a10-bd6c412f8741
x-runtime: 0.015133
content-length: 573
Body
{
"record": {
"name": "logo",
"record": {
"updated_at": "2025-03-20T10:02:28.912Z",
"id": 621,
"name": "Johnson-Ritchie",
"address": "Apt. 505 4456 Frami Mission, Mohrfurt, WV BK7R 5WJ",
"license_number": "5156086228",
"main_operator_id": 1666,
"created_at": "2025-03-20T10:02:28.836Z",
"invoice_email": "benjamin@pacocha-cole.example",
"vat_number": "4495129636",
"billing_phone_number": "01670 88366",
"billing_full_name": "Eduardo Strosin",
"billing_address": "748 Jacquline Keys, North Ernest, CT WE3 9SU",
"timer": 86400,
"state": "verified",
"rejection_reason": null,
"due_days": 30,
"commission": "10.0"
}
}
}