Update Collection
PUT https://api.stream-io-api.com/api/v1.0/collections/new_collection5/fun-c99?api_key={{API_KEY}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string |
Request Body
{"data"=>{"extra"=>"updated field", "flag"=>true}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string | ||
Stream-Auth-Type | string |
RESPONSES
status: Created
{"duration":"3.50ms","id":"fun-c99","collection":"new_collection5","foreign_id":"new_collection5:fun-c99","data":{"extra":"updated field","flag":true},"created_at":"2021-12-02T23:07:54.08346Z","updated_at":"2021-12-02T23:10:28.975651Z"}