Starsender icon

Starsender

Interact with Starsender API

Device → Delete Device

AI-generated

Summary

Delete a specified device by its identifier.

Inputs

  • authHeaderName (required) — Select the header name to send the API key with, defaulting to Authorization.
  • authHeaderCustom — Provide a custom header name if 'Other' is selected for the Auth Header Name.
  • deviceName (required) — Specify the name or identifier of the device to be deleted.

Output shape

no body — success/failure only

Success response will indicate successful deletion; failure responses may provide error messages.

Examples

Example 1: Delete a device with name 'Device123' using default Authorization header

authHeaderName: Authorization, deviceName: Device123

Example 2: Delete a device with a custom Auth header 'X-API-KEY' passed with device name 'DeviceXYZ'

authHeaderName: X-API-KEY, authHeaderCustom: my_custom_key, deviceName: DeviceXYZ

Discussion