Delete a UDT
To delete a UDT, use a DELETE
request to /api/rest/v2/schemas/keyspaces/{keyspace_name}/types/{type_name}
.
All UDT schema will be deleted along with the UDT data.
-
cURL command (/v2)
curl --location --request DELETE https://$ASTRA_CLUSTER_ID-$ASTRA_REGION.apps.astra.datastax.com/api/rest/v2/schemas/keyspaces/users_keyspace/types/address_type \
--header "X-Cassandra-Token: $ASTRA_DB_APPLICATION_TOKEN" \
--header 'Content-Type: application/json'