PUT
/
collections
/
{collection_identifier}

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

X-Namespace
string | null

Optional namespace for data isolation. Example: 'netflix_prod' or 'spotify_recs_dev'. To create a namespace, use the /namespaces endpoint.

Path Parameters

collection_identifier
string
required

Either the collection name or collection ID

Body

application/json
collection_name
string
required

Name for the collection

metadata
object | null

Optional metadata for the collection

Response

200 - application/json
collection_name
string
required

Name for the collection

collection_id
string

Unique identifier for the collection

namespace_id
string | null

Namespace for the collection

metadata
object | null

Optional metadata for the collection