Manage Auth0 Event Streams Using The Management API
This article explains how to manage event streams using the Auth0 Management API. It details the process of obtaining an API Explorer token and interacting with the API documentation to retrieve, create, update, and delete event streams.
- Auth0 Management API
- Event Streams
Follow these steps to manage event streams using the Auth0 Management API.
1. Get an API Explorer Token
To obtain an API token for the requests described below, please follow the Get Management API Access Tokens for Testing article.
NOTE: The API token is a sensitive credential and should be kept confidential.
2. Get the Event Streams.
-
To retrieve the current event stream configuration, go to Get event streams.
-
Select Set API Token.
-
Paste the token into the API Token field and select Set Token.
-
Select Try.
3. Create an Event Stream.
-
To create a new event stream, go to Create an event stream.
-
Ensure the token is set.
-
Enter the event stream parameters in the Body field.
-
Select Try.
4. Update an Event Stream.
-
To retrieve the existing event stream configuration, go to Get event streams by id.
-
Enter the event stream identifier in the id field.
-
Select Try.
-
Copy the JSON object from the Response body.
-
To update the event stream, go to Update an event stream.
-
Enter the event stream identifier in the id field.
-
Paste the JSON object into the Body field and modify the parameters as needed.
-
Select Try.
5. Delete an Event Stream.
-
To delete an event stream, go to Delete an event stream.
-
Enter the event stream identifier in the id field.
-
Select Try.