Deleting the Blackouts – synthetic API
POST method of the API deletes single or list of Blackouts.
Before you begin
You must obtain an authToken by using the
login API. The token authenticates the user performing the operation. For details, see
To delete Blackouts
The API uses the
POST method to delete the Blackouts.
Sample request with REST client
After accessing the REST client, perform the following steps:
- Enter the URL for the API.
The generic format is as follows:
- Add a new header row and select Authorization as the header type.
- Enter the text authToken followed by the
generated through the
- Enter a single or list of Blackout IDs in the request body.
- Click Send.
To delete, the request body must contain a single or the list of Blackout IDs.
If the delete operation is successful, the response is an empty array.
If the delete operation fails, the response returns a collection of Blackout IDs that could not be deleted. For example,
[ "95343ff6-e627-4874-91fd-bc3ed0c83873", "95343ff6-e627-4874-91fd-be3ed0c83872"]