Create a collection

POST {{baseUrl}}/v2/namespaces/:namespace-id/collections

Request Body

{"name"=>"users", "fields"=>{"name"=>{"type"=>"String", "index"=>true}}, "validationAction"=>"warn"}

HEADERS

KeyDatatypeRequiredDescription
X-Cassandra-Tokenstring(Required) The token returned from the authorization endpoint for classic databases. Use this token in each request.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"name":"killrvideo"}