Create a user-defined type (UDT) called address

POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/types

Request Body

{"name"=>"address_type", "fields"=>[{"name"=>"street", "typeDefinition"=>"text"}, {"name"=>"city", "typeDefinition"=>"text"}, {"name"=>"state", "typeDefinition"=>"text"}, {"name"=>"zip", "typeDefinition"=>"text"}]}

HEADERS

KeyDatatypeRequiredDescription
X-Cassandra-Tokenstring
Content-Typestring