Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Organization endpoints
Role-based access control endpoints
Starred queries endpoints
User endpoints
Dataset endpoints
Update dataset
Update dataset
Update dataset
PUT
/
datasets
/
{id}
curl --request PUT \
--url https://api.axiom.co/v2/datasets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "string",
"retentionDays": 30
}'
{
"created": "2022-07-20T02:35:14.137Z",
"description": "string",
"id": "string",
"name": "string",
"who": "string"
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
Response
200
application/json
Dataset
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.axiom.co/v2/datasets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "string",
"retentionDays": 30
}'
{
"created": "2022-07-20T02:35:14.137Z",
"description": "string",
"id": "string",
"name": "string",
"who": "string"
}