Deactivate a Log Stream

POST {{baseUrl}}/api/v1/logStreams/:logStreamId/lifecycle/deactivate

Deactivates a log stream by logStreamId

HEADERS

KeyDatatypeRequiredDescription
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"}}}