Authorization: ********************
{
"collection_id": "string",
"primary_key": [
"string"
],
"field_types": {
"property1": "FIELD_TYPE_STRING",
"property2": "FIELD_TYPE_STRING"
},
"as_copy": true
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v0alpha/lms/collections/retypecollection' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"collection_id": "string",
"primary_key": [
"string"
],
"field_types": {
"property1": "FIELD_TYPE_STRING",
"property2": "FIELD_TYPE_STRING"
},
"as_copy": true
}'
{
"collection_id": "string",
"inserted_count": 0,
"updated_count": 0,
"rejected_count": 0,
"ignored_count": 0,
"rejected_entry_ids": [
"string"
]
}