ackDB

Set a segment as the default

Marks this Segment the default view for its entity_kind, transactionally clearing any prior default for that kind (at most one default per kind). Owner only; marking a private segment default exposes it read-only to everyone via the list ACL (#284).

put/api/v1/ackdb/observe/segments/{id}/default

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

The segment, now default.

Example response

{
  "data": {
    "id": "01J9Z8Q3K2X7M4N5P6R7S8T9V0",
    "name": "Active paying companies",
    "description": "Companies with a paid Stripe invoice",
    "entityKind": "company",
    "filter": {
      "children": [
        {
          "traitKey": "hubspot_lifecycle_stage"
        }
      ]
    },
    "sort": [
      {
        "field": "event_count"
      }
    ],
    "columns": [
      {
        "field": "name",
        "frozen": true,
        "width": 200
      }
    ],
    "ownerEmail": "rep@acme.com",
    "access": "owner"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.