Users

Verify a user

POST
https://peertube2.cpy.re/api/v1/users/{id}/verify-email

Following a user registration, the new user will receive an email asking to click a link containing a secret. This endpoint can also be used to verify a new email set in the user account.

Body

application/json
verificationStringstring<url>required
isPendingEmailboolean

Parameters

idid>= 1requiredpath

Entity id

Response

204No Content

successful operation

403Forbidden

invalid verification string

404Not Found

user not found