Update a table

Changes a table of a project. Only the fields you send are changed. The data source can't be changed.

Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.

Fields

FieldEffect
nameMerged with the current name: the locales you send replace the current text, the others are kept. Send null or "" for a locale to remove it. Must keep a text in the project's default language.
descriptionMerged the same way.
attributesChanges the title and visible of the attributes you list (each name must exist in the data source). Other attributes are unchanged. A title changes the data source attribute's title, for every layer and table that uses it. Can't be [].
listed, allowClientSideEditingReplace the current value.
baseFilterReplaces the filter, checked against the data. {} removes it.

HTML markup is removed from name and description. Tags are changed with POST and DELETE .../tables/{table}/tags.

What a table is

A table (table dataset) shows the rows of a tabular data source in a project, like a layer shows the features of a spatial data source. It has a name, a description, the display settings of the data source's attributes, an optional base filter, dynamic filters and reports.

Organization and project

organization must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the table

Body Params

Fields to change. Fields not sent are left unchanged.

boolean

Whether the client applications allow editing the rows

attributes
array of objects

Changes the title and visible of the attributes listed; the others are unchanged. A title changes the data source attribute's title. Can't be empty

attributes
baseFilter
object

Replaces the CQL2-JSON filter, checked against the data. {} removes it

description
object

Merged with the current description, like name. 2048 characters at most per text

boolean

Whether the table is listed

name
object

Merged with the current name: the locales sent replace the current text, null or "" removes a locale. Must keep a text in the project's default language. 2048 characters at most per text

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json