Moderation
Users

Ban user by ID

put/users/{id}/ban

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/users/{id}/ban
  • Auth: none declared

Path parameters

idinteger required

User ID to ban

Request body

untilinteger

Ban end date

reasonstring

Ban reason

Response

Success response

responseboolean

Example response

{
  "response": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.