Delete Event Destination

Remove a destination from a scheduled event

Info

Required scope: stream.write

Warning

This method requires authentication

Remove a destination previously attached with Add Event Destination. This only detaches the destination from the event — the channel itself is kept and can be attached again later. Use Delete Channel to remove the channel.

Destinations can only be removed while the event is still scheduled. Deleting a destination of an event that is in progress or already finished is not allowed.

curl -X DELETE \
     -H "Authorization: Bearer [access token]" \
     https://api.restream.io/v2/user/events/{eventId}/destinations/{destinationId}

Path Parameters

ParameterTypeDescription
eventIdstring (UUID)The UUID of the event
destinationIdstring (UUID)The UUID of the destination to remove

Response

Success
Error (Event Not Found)
Error (Destination Not Found)
Error (Event In Progress)
Error (Event Finished)
Error (Invalid Path Params)
204 No Content