billboards

Unpublish a billboard

Changed on

Remove a billboard from active rotation by unpublishing it. Successful writes log api_billboard_unpublish with the actor and target ids in the admin API audit log.

    ### Usage:
    - Instantly disables display across all pages while keeping the configuration stored in the database for later reactivations or historical reporting.
put/api/billboards/{id}/unpublish

Request

  • Base URL
    https://dev.to
  • Auth
    • API key in header api-key
    • or HTTP bearer

Path parameters

idinteger required

The ID of the billboard to unpublish.

Response

no content

Changes

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status