Support Center
Deletes an existing user attribute or attributes. The operation cannot be undone. It is not an error to delete an attribute that does not exist.
While the call's Python equivalent has two versions, one for individual and the other for multiple attributes, with REST there is a single endpoint to cover both cases. Yet, just like in the Python call, it is more efficient to delete multiple attributes in one REST call instead of repeatedly deleting individual ones.
Name | Datatype | Optional | Notes |
---|---|---|---|
ust | string | --- | Current user's session token (UST) |
current_app | string | --- | Name of application that the call is attempted from |
user_id | string | Yes | ID of the user to delete an attribute or attributes of |
name | string | Yes | If a single attribute is to be deleted, the attribute's name |
data | list | Yes | If multiple attributes are to be deleted, this is a list of their names |
Name | Datatype | Optional | Notes |
---|---|---|---|
cid | string | --- | Correlation ID assigned to request |
status | string | --- | Overall status code |
sub_status | list | Yes | Returned only if status is not "ok", a list of error or warning codes |