Logo
Akamai APIs API Documentation

Activations

Number of APIs: 3


1. Activate a stream

POST https://{{host}}/datastream-config-api/v2/log/streams/:streamId/activate

Activates the latest version of a stream. Activating a stream takes approximately an hour. Once a stream is active, and the DataStream behavior is enabled in Property Manager, it replaces the previous active version which is deactivated by default, starts collecting data and sending log files to a destination. If you want to stop receiving the logs, you can deactivate the stream at any time. See the Deactivate a stream operation.



2. View activation history

GET https://{{host}}/datastream-config-api/v2/log/streams/:streamId/activation-history

Returns the details of activation status changes for all versions of a given stream.



3. Deactivate a stream

POST https://{{host}}/datastream-config-api/v2/log/streams/:streamId/deactivate

Deactivates the latest version of a stream. Deactivating a stream means that you stop receiving logs for the properties that this stream monitors and changes status to DEACTIVATED in approximately an hour. If you want to start receiving log files again, you can activate the stream at any time using the Activate a stream operation.



ENDPOINTS