User attributes

Clear a switched attribute value for the current user

Changed on

Clear the calling user's switch for a user attribute, restoring the administrator-assigned value. Clearing an attribute that is not currently switched succeeds and changes nothing.

delete/v1/user-attribute-selections

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v1/user-attribute-selections
  • Auth
    HTTP bearer

Query parameters

userAttributeIdstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

User attribute ID

Response

The caller's switchable attributes after the change

Example response

{
  "records": [
    {
      "user_attribute_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "region",
      "label": "Region",
      "selectable_values": [
        "acme",
        "globex"
      ],
      "selected_values": [
        "globex"
      ]
    }
  ]
}

Changes