PUT
/
views
/
{id}
cURL
curl --request PUT \
  --url https://api.axiom.co/v2/views/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "aplQuery": "<string>",
  "datasets": [
    "<string>"
  ],
  "description": "<string>",
  "name": "<string>",
  "sharedByOrg": "<string>",
  "sharedByOrgName": "<string>"
}'
{
  "aplQuery": "<string>",
  "datasets": [
    "<string>"
  ],
  "description": "<string>",
  "name": "<string>",
  "sharedByOrg": "<string>",
  "sharedByOrgName": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Body

application/json
aplQuery
string
required
name
string
required
datasets
string[]
description
string
sharedByOrg
string

ID of the org that shared this resource, if it's shared

sharedByOrgName
string

The name of the org that shared this resource, if it's shared

Response

200 - application/json

View

aplQuery
string
required
name
string
required
datasets
string[]
description
string
sharedByOrg
string

ID of the org that shared this resource, if it's shared

sharedByOrgName
string

The name of the org that shared this resource, if it's shared