PUT
/
streams
/
{stream}
curl --request PUT \
  --url https://{basin}.b.aws.s2.dev/v1/streams/{stream} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data null
{
  "created_at": "<string>",
  "deleted_at": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

s2-request-token
string

Provide a client request token header for idempotent retry behaviour.

Path Parameters

stream
string
required

Stream name.

Body

application/json

Response

201
application/json

The response is of type object.