Remove Custom Fields from Team Member

Remove agent custom field values from a team member.

Before you call

  • Find the team member with exactly one of phone (with country code) or uniqueCustomField (the name and value of an agent custom field marked unique, such as Employee ID).
  • customFields (at least one name) is required.
  • Your account needs the "Update team members" permission and edit access to each field you remove.

How it works

  • Custom fields are matched by name. Only agent custom fields can be removed.
  • A field hidden from your role cannot be removed.
  • Results are per item: customFields.removed and customFields.errored (with a reason each).
  • Errors you may see: "No such custom field found", "No such custom field found for team member", "Cannot remove internal field", or "Insufficient permissions to edit this custom field".

Errors

  • 400 if both or neither of phone and uniqueCustomField are sent.
  • 422 if the uniqueCustomField name is not an agent custom field, or that field is not unique.
  • 400 if no member of your organization has that number, or more than one has it.
  • 404 if the number belongs to a bot or a pending invite, or no member holds that unique value.
  • 429 if you call it too often.

Rate limit

  • 60 requests per minute.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Team member phone number with country code. Example, 919876543210. Send this or uniqueCustomField.

uniqueCustomField
object

An agent custom field marked unique that finds the team member. Send this or phone.

customFields
array of strings
required

Array of agent customFields to be removed

customFields*
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json