Delete member field
DELETE
/member-attribute/{id}
Deletes the field and every member's value for it. Tools whose entries name it keep their placeholder and refuse every call (409 `caller_binding_unresolved`) until a field with that key is defined and filled again. Requires `member:manage`.
Path Parameters
idstring
required·
Member field id (mad_…).
Response Body
successboolean
values_deletedinteger
curl -X DELETE 'https://api.elaichi.ai/member-attribute/<id>' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/member-attribute/<id>', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import os
import requests
url = "https://api.elaichi.ai/member-attribute/<id>"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())