curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/updatedisplayablelists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "items": [
    {
      "source": "SAVED_SEARCH",
      "id": 123,
      "sourceId": "<string>",
      "config": {
        "format": "LIST",
        "title": "<string>",
        "enabled": true,
        "audienceFilters": [
          {
            "fieldName": "type",
            "values": [
              {
                "value": "Spreadsheet",
                "relationType": "EQUALS"
              },
              {
                "value": "Presentation",
                "relationType": "EQUALS"
              }
            ]
          }
        ],
        "itemUIConfig": {
          "showNewIndicator": true
        }
      }
    }
  ]
}'
{
  "items": [
    {
      "source": "SAVED_SEARCH",
      "id": 123,
      "sourceId": "<string>",
      "config": {
        "format": "LIST",
        "title": "<string>",
        "enabled": true,
        "audienceFilters": [
          {
            "fieldName": "type",
            "values": [
              {
                "value": "Spreadsheet",
                "relationType": "EQUALS"
              },
              {
                "value": "Presentation",
                "relationType": "EQUALS"
              }
            ]
          }
        ],
        "itemUIConfig": {
          "showNewIndicator": true
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Scio-Actas
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Body

application/json
Updated version of the displayable list configs.
items
object[]
required

All configurations for a list that can be displayed.

Response

200
application/json
OK
items
object[]
required

All configurations for a list that can be displayed.