Replace a Log Stream

PUT {{baseUrl}}/api/v1/logStreams/:logStreamId

Replaces a log stream by logStreamId

Request Body

{"type"=>"aws_eventbridge", "name"=>"Example AWS EventBridge", "settings"=>{"eventSourceName"=>"your-event-source-name", "accountId"=>"123456789012", "region"=>"us-east-2"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"0oa1orqUGCIoCGNxf0g4","type":"aws_eventbridge","name":"Example AWS EventBridge","lastUpdated":"2021-10-21T16:55:30.000Z","created":"2021-10-21T16:55:29.000Z","status":"ACTIVE","settings":{"accountId":"123456789012","eventSourceName":"your-event-source-name","region":"us-east-2"},"_links":{"self":{"href":"http://{yourOktaDomain}/api/v1/logStreams/0oa1orqUGCIoCGNxf0g4","method":"GET"},"deactivate":{"href":"http://{yourOktaDomain}/api/v1/logStreams/0oa1orqUGCIoCGNxf0g4/lifecycle/deactivate","method":"POST"}}}