User

Remove a block. Provide blockedUserId as a query param, or send blockedUserId/handle in a JSON body (User.id or display handle).

delete/api/user/blocks

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Query parameters

blockedUserIdstring

User.id or handle. Optional when the same target is sent in the JSON body.

Request body

OR

Response

{ success, data: { success: true } }

Changes

    • breaking

      for the query request parameter blockedUserId, the minLength was increased from 0 to 1

    • info

      added optional request body

    • info

      the query request parameter blockedUserId became optional