PeerTube · Example Payload

Post_Api_V1_Users_Id_Unblock

Allow a previously blocked user to login and interact with the instance

Users

Post_Api_V1_Users_Id_Unblock is an example object payload from PeerTube, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "post_api_v1_users_id_unblock",
  "method": "POST",
  "path": "/api/v1/users/{id}/unblock",
  "summary": "Unblock a user",
  "description": "Allow a previously blocked user to login and interact with the instance",
  "tags": [
    "Users"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    }
  ],
  "requestBody": null,
  "responses": {
    "204": {
      "description": "successful operation",
      "examples": {}
    },
    "400": {
      "description": "invalid user id",
      "examples": {}
    },
    "403": {
      "description": "insufficient permissions to unblock users",
      "examples": {}
    },
    "404": {
      "description": "user not found",
      "examples": {}
    }
  }
}