Vendors

Clear a vendor's custom field value

Removes a vendor's value for one custom field. The field itself stays defined. Requires the vendors:write permission.

DELETE
https://services.magicdoor.com/maintenance/company-portal/vendors/{vendorId}/custom-fields/{customFieldId}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

vendorIdstringrequired

The vendor to act on. A Snowflake id, sent as a decimal string.

example: 1826110384726355968
customFieldIdstringrequired

The custom field. It must be one defined for vendors.

example: 1825110384726355968

Response

200 · The value was cleared. The response has no body.

401 · The request carried no valid access token.

403 · The token is not a property manager token, or it lacks the `vendors:write` permission.

404 · No such vendor, or it belongs to another company.