v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1419128123.4 KB

The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received, the specified table is in the <code>DELETING</code> state until Amazon Keyspaces completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete it. If a table is either in the <code>CREATING</code> or <code>UPDATING</code> states, then Amazon Keyspaces returns a <code>ResourceInUseException</code>. If the specified table does not exist, Amazon Keyspaces returns a <code>ResourceNotFoundException</code>. If the table is already in the <code>DELETING</code> state, no error is returned.

post/#X-Amz-Target=KeyspacesService.DeleteTable

Headers

X-Amz-Target'KeyspacesService.DeleteTable' required

Request body

keyspaceNamestring required

The name of the keyspace of the to be deleted table.

tableNamestring required

The name of the table to be deleted.

Response

Success

DeleteTableResponse required