# Remove attribute

Keep in mind that you have to use full original name as an attribute name. Other names will result in 404 Not Found response and no changes in the user profile.

POST /users-by-id/:custom_id/remove_attribute/

Attributes Type Required Description
custom_id string no The unique identifier for the user which is provided by the client.
attribute string yes A name of your attribute.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
 curl -X POST -H "Authorization: Token <your_64_char_api_key>"
     -H "Accept: */*; version=2" -H "Content-Type: application/json" -d '{
      "attribute": "Name of the attribute"
    }' "https://<your_app_subdomain>.user.com/api/public/users-by-id/:custom_id/remove_attribute/"