Deletes a single MediaCardButton

DELETE /api/media/card_button/{identifier}

Path parameters

  • identifier string Required

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

Responses

  • 200 application/json

    Deletes a single MediaCardButton

    Hide response attributes Show response attributes object
    • id integer
    • card_type string
    • card_conditions string
    • token string
    • language_code string
    • icon_asset_name string
    • icon_package string
    • icon_color string
    • text_color string
    • background_color string
    • image_opacity number(float)
    • created string(date-time)
    • updated string(date-time)
    • deleted boolean
    • image_url string
    • name string
DELETE /api/media/card_button/{identifier}
curl \
 --request DELETE 'https://replace-with-own-host.iw-erp.de/api/media/card_button/{identifier}' \
 --header "x-session-token: $API_KEY"
Response examples (200)
{
  "id": 42,
  "card_type": "string",
  "card_conditions": "string",
  "token": "string",
  "language_code": "string",
  "icon_asset_name": "string",
  "icon_package": "string",
  "icon_color": "string",
  "text_color": "string",
  "background_color": "string",
  "link_action": "string",
  "link_url": "string",
  "image_opacity": 42.0,
  "created": "2025-05-04T09:42:00Z",
  "updated": "2025-05-04T09:42:00Z",
  "deleted": true,
  "image_url": "string",
  "name": "string"
}