Update Custom field
Update a Custom field by id.
Authorization
BearerAuthorizer In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The Vayu entity this field applies to
The name of the custom field in Vayu
The type of the value: "String", "Number", or "Boolean"
The integration provider (e.g., "Salesforce", "HubSpot")
The path to the field in the integration
Allowed values for Enum type fields
Default value for Enum type fields. Must be one of allowedValues.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/customFields/string" \ -H "Content-Type: application/json" \ -d '{}'{ "customField": { "vayuEntity": "Customer", "vayuCustomFieldName": "string", "valueType": "String", "integrationSource": "NetSuite", "integrationEntityType": "Account", "fieldPath": "string", "allowedValues": [ "string" ], "defaultValue": "string", "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}{ "type": "invalid_request_error", "code": "string", "message": "string", "param": "string", "params": [ { "param": "string", "message": "string" } ]}{ "type": "authentication_error", "code": "authentication_failed", "message": "string"}{ "type": "invalid_request_error", "code": "resource_not_found", "message": "string"}{ "type": "rate_limit_error", "code": "rate_limit_exceeded", "message": "string"}{ "type": "api_error", "code": "internal_error", "message": "string"}Delete Custom field DELETE
Delete a Custom field by id.
Login by obtaining a new access token POST
This endpoint is designed to acquire a temporary access token. Submit the auth token in the request body to obtain a new access token. Use this new token for subsequent API calls. Token is set to expire every hour.

