Update view

Edit an existing view.

The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields.

Here’s an example:

{
"description": "Example updated description",
"tags": ["new-tag"]
}

Path parameters

projectKeystringRequired
viewKeystringRequired

Headers

AuthorizationstringRequired
LD-API-Version"beta"Required
Version of the endpoint.

Request

This endpoint expects an object.
namestringOptional

Human-readable name for the view

descriptionstringOptional
Optional detailed description of the view
generateSdkKeysbooleanOptional
Whether to generate SDK keys for this view
maintainerIdstringOptional

Member ID of the maintainer for this view. Only one of maintainerId or maintainerTeamKey can be specified.

maintainerTeamKeystringOptional

Key of the maintainer team for this view. Only one of maintainerId or maintainerTeamKey can be specified.

tagslist of stringsOptional
Tags associated with this view
archivedbooleanOptional
Whether or not the view is archived

Response

Successful response
idstring
Unique ID of this view
accountIdstring
ID of the account that owns this view
projectIdstring
ID of the project this view belongs to
projectKeystring
Key of the project this view belongs to
keystring

Unique key for the view within the account/project

namestring

Human-readable name for the view

descriptionstring
Optional detailed description of the view
generateSdkKeysboolean
Whether to generate SDK keys for this view. Defaults to false.
versioninteger
Version number for tracking changes
tagslist of strings
Tags associated with this view
createdAtlong
updatedAtlong
archivedboolean
Whether this view is archived
deletedboolean
Whether this view is deleted
_accessobject or null
archivedAtlong or null
deletedAtlong or null
maintainerobject or null
flagsSummaryobject or null
segmentsSummaryobject or null
parentsobject or null
childrenobject or null
all_flagsobject or null
all_segmentsobject or null

Errors