collections

Change Collection Environment

Move a collection between environments without reindexing.

patch/v2/collections/{collection_name}/environment

Path parameters

collection_namestring required

Request body

new_environment'development' | 'staging' | 'production' required

Response

Successful Response

collection_namestring required
files_movedinteger required
messagestring required
new_environmentstring required
previous_environmentstring required
successboolean required

Changes