v1

latestOpenAPI 3.0.02026-07-17131527.3 KB
dataset

Update an existing Dataset

put/policies/dataset/{id}

Headers

User's access token (bearer auth).

Request body

namestring

A unique name label

sink_idsstring[]

An array of one or more sink unique identifier

Example request

{
  "name": "my-dataset"
}

Response

Policy object

idstring uuid required

Unique identifier (UUID)

namestring

A unique name label

agent_group_idstring uuid

Unique identifier (UUID) of an agent_group

agent_policy_idstring uuid

Unique identifier (UUID) of an agent_policy

sink_idsstring[]

An array of one or more sink unique identifier

validboolean

Boolean field indicating whether the dataset is valid

tagsobject

User defined key/values for organization and searching

ts_createdstring date-time

Timestamp of creation

Example response

{
  "name": "my-dataset",
  "tags": {
    "region": "eu",
    "node_type": "dns"
  }
}