Delete columns from table schema
If you find an attribute is no longer required in a table, you
can delete a column by sending a DELETE
request. All
column data will be deleted along with the column schema.
curl -s --location \
--request DELETE https://$ASTRA_CLUSTER_ID-$ASTRA_REGION.apps.astra.datastax.com/api/rest/v2/schemas/keyspaces/users_keyspace/tables/users/columns/email \
--header "X-Cassandra-Token: $ASTRA_DB_APPLICATION_TOKEN" \
--header "Content-Type: application/json"