User Attributes

List the caller's switchable attributes

Returns the attributes the calling user may switch, with whichever switch is currently active. Empty when nothing is provisioned for them; an organization admin gets every attribute with allow_any_value true. Acts as the authenticated user; organization API keys act as the key's creator.

get/api/v1/user-attribute-selections

Response

The caller's switchable attributes and active switches

Example response

{
  "records": [
    {
      "label": "Client",
      "name": "client",
      "selectable_values": [
        "acme",
        "globex"
      ],
      "selected_values": [
        "globex"
      ]
    }
  ]
}

Changes

Changed in 1 of the 46 revisions of this API.1