PeerTube · Example Payload

Delete_Api_V1_Video Channels_Ownership_Id

Delete a channel ownership change request. Only channel owners can delete the request.

Ownership Change

Delete_Api_V1_Video Channels_Ownership_Id 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": "delete_api_v1_video-channels_ownership_id",
  "method": "DELETE",
  "path": "/api/v1/video-channels/ownership/{id}",
  "summary": "Delete channel ownership change request",
  "description": "Delete a channel ownership change request. Only channel owners can delete the request.",
  "tags": [
    "Ownership Change"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    }
  ],
  "requestBody": null,
  "responses": {
    "204": {
      "description": "successful operation",
      "examples": {}
    },
    "400": {
      "description": "ownership request already accepted/refused or request type mismatch",
      "examples": {}
    },
    "403": {
      "description": "only channel owners can delete a channel ownership change request",
      "examples": {}
    },
    "404": {
      "description": "channel ownership change not found",
      "examples": {}
    }
  }
}