segments

Remove users from a manually managed audience segment

Changed on

Remove users in bulk from the specified manual audience segment.

Bulk Update Behavior:

  • Accepts a JSON array of user_ids in the request body.
  • Returns successes (users successfully removed) and failures (users who were not members of the segment).
put/api/segments/{id}/remove_users

Request

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

Path parameters

idinteger required

Unique segment numerical ID.

Request body

user_idsinteger[]

Response

Result of removing the users to the segment.

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

    • 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

    • 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