- Abuses
- Accounts
- Video Channels
- Config
- Homepage
- Feeds
- Job
- Session
- Plugins
- Search
- Account Blocks
- Server Blocks
- Instance Follows
- List instances following the server
- Remove or reject a follower to your server
- Accept a pending follower to your server
- Reject a pending follower to your server
- List instances followed by the server
- Follow a list of actors (PeerTube instance, channel or account)
- Unfollow an actor (PeerTube instance, channel or account)
- Video Mirroring
- Instance Redundancy
- Users
- My User
- My History
- My Notifications
- My Subscriptions
- Video Playlists
- Videos
- Video
- List videos of a video channel
- List videos
- List available video categories
- Import a video
- List available video languages
- List available video licences
- List available video privacy policies
- Upload a video
- Cancel the resumable upload of a video, deleting any data uploaded so far
- Initialize the resumable upload of a video
- Send chunk for the resumable upload of a video
- Delete a video
- Get a video
- Update a video
- Get complete video description
- Add a view to a video
- Set watching progress of a video
- Video Blocks
- Live Videos
- Video Ownership Change
- Video Captions
- Video Comments
- Video Rates
Block an account
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
POST
/server/blocklist/accounts
Account Blocks
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://peertube2.cpy.re/api/v1/server/blocklist/accounts' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountName": "chocobozzz@example.org"
}'
Response Response Example
200 - Example 1
{}
Request
Body Params application/json
accountName
stringÂ
required
username@domain
Example:
chocobozzz@example.org
Examples
Responses
🟢200successful operation
application/json
Body
object {0}
🟠409self-blocking forbidden
Modified at 2022-09-10 22:29:49