This method deletes an existing account custom field.

Request

HTTP request

DELETE /v2.1/accounts/{accountId}/custom_fields/{customFieldId}

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID GUID.

customFieldIdstring

The id of the custom field.

Optional Query Parameters
apply_to_templatesstring

Responses

CodeDescriptionReference
200

Successful response.

400

Error encountered.

errorDetails

SDK Method

Accounts::deleteCustomField

Definitions

errorDetails

This object describes errors that occur. It is only valid for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

}} />