Create a user
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
/users
Users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://peertube2.cpy.re/api/v1/users' \
--header 'Content-Type: application/json' \
--data-raw '{
"adminFlags": 1,
"channelName": "framasoft_videos",
"email": "user@example.com",
"password": "pa$$word",
"role": 2,
"username": "chocobozzz",
"videoQuota": -1,
"videoQuotaDaily": -1
}'
Response Response Example
200 - Example 1
{
"user": {
"account": {
"id": 42
},
"id": 42
}
}
Request
Body Params application/json
Responses
Modified at 2022-09-10 22:29:49