Create a new table within a database schema
snowflake_prod.analytics.public).Regular, External, View, MaterializedView, SecureView, Iceberg, Local, Partitioned, Foreign, Transient.P365D).service.database.schema.table.Regular, View, MaterializedView).PUT /v1/tables instead of POST to perform an upsert. If a table with the same fullyQualifiedName already exists, it will be updated; otherwise, a new table is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.PUT /v1/tables/bulk to create or update multiple tables in a single request. The request body is an array of create request objects.
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body, missing required fields, or invalid column definitions |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create tables |
409 | ENTITY_ALREADY_EXISTS | Table with same name already exists in schema (POST only) |