Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Streams → Delete Stream And Unbind

AI-generated

Summary

Delete a streaming radio stream and unbind it from its station and radio product.

Inputs

  • authentication — Authentication method to use: OAuth2 or API Key.
  • path_radio_product_id (required) — ID of the radio product that owns the stream.
  • path_station_id (required) — ID of the station associated with the stream.
  • path_stream_id (required) — ID of the stream to delete.
  • query_streams_id_to_unbind (required) — ID of the stream to unbind (often same as path_stream_id).
  • query_user_password (required) — User password for API Key authentication.
  • returnFullResponse — If true, returns the full API response; otherwise only a success indicator.

Output shape

JSON object indicating deletion result (e.g., {"success":true})

When returnFullResponse is true the full response body is returned; otherwise only a success flag is emitted. Errors are returned with appropriate HTTP status codes.

Examples

Example 1: Delete stream 12345 from radio product 67 and unbind it, using OAuth2 authentication and getting only a success flag.

Authentication: oauth2; path_radio_product_id: 67; path_station_id: 10; path_stream_id: 12345; query_streams_id_to_unbind: 12345; query_user_password: ''; returnFullResponse: false

Example 2: Delete stream 9876 using API Key with user password, returning the full response.

Authentication: apiKey; path_radio_product_id: 67; path_station_id: 10; path_stream_id: 9876; query_streams_id_to_unbind: 9876; query_user_password: 'secret'; returnFullResponse: true

Links

Discussion