- Print
Updates a Tulip Table's metadata and schema. If the update is successful, the Table's updatedAt
will be set to the current time and updatedBy
will be set to your user id.
Requires the tables:write
API key scope.
A Tulip API key is required to use the Tulip API. API key authentication uses HTTP Basic Authentication as defined by RFC 7617. HTTP Basic Authentication uses a generic username/password scheme to authenticate. For Tulip API requests, the password should be the API key's associated secret. The username should have the format {type}.{version}_{id}
, where {type}
is the API key type, {version}
is the type's version number, and {id}
is the id of the key. Tulip API keys currently are one of two types:
apikey.2
- user API keys provisioned by creating a Tulip API Token. The key id is the token id.onetime.1
- temporary API keys provisioned using the/auth/temporary
endpoint or using the One-Time API Key page. These keys are only valid for 30 seconds after provisioning.
Once you have determined the username and password you need to use, the Authorization
header should be set to the value Basic {credentials}
, where {credentials}
is the base64-encoded value of the string {username}:{password}
. See RFC 7617 for more details of this encoding.
The id of a Tulip Table.
The spec for updating a Tulip Table. The spec must include all existing columns of the Table, including the id
column. The data type of existing columns cannot be changed. If you wish to change a column's type, hide the existing column and make a new column with the desired type.
The display label for this Table.
A long-form description for this Table.
Whether the Table should be hidden from the Tulip Tables UI. If not specified, the Table's deleted
status is unchanged.
The updated columns of the Table. All existing columns must be mentioned, including the id
column.
The name of the column. Must start with a letter and contain only letters, numbers, and underscores. Must be unique to this Table.
The display label for this column.
A long-form description for this column.
The type of a value in Tulip.
Whether the column should be hidden in the Tulip Tables UI. The id
column cannot be hidden.
Whether the values in the column must be unique. This property cannot be changed on existing columns.
The Tulip Table was updated successfully. The details of the updated Table are returned in the response.
The display label for this Table.
A long-form description for this Table.
The internal id of this column.
The display label for this column.
A long-form description for this column.
The type of a value in Tulip.
Whether this column is hidden from the UI or not.
Whether values in this column are required to be unique or not.
The request was malformed. This could mean that headers, query parameters, or the request body was unable to be parsed or had unexpected values.
The request was made unauthorized. HTTP Basic Authorization using a Tulip API Key is required for use of the API.
The provided authentication info was rejected. The response will provide additional details.
The requested database entry was not found.
The request was malformed. This could mean that headers, query parameters, or the request body was unable to be parsed or had unexpected values.
The server encountered an unexpected error.