1
0
Fork 0

Add OTP header doc

This commit is contained in:
Chocobozzz 2025-03-19 06:57:00 +01:00
parent df2d584b1b
commit 19b8cfaa4f
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -1503,6 +1503,13 @@ paths:
description: With your [client id and secret](#operation/getOAuthClient), you can retrieve an access and refresh tokens.
tags:
- Session
parameters:
- name: x-peertube-otp
in: header
schema:
type: string
required: false
description: If the user enabled two factor authentication, you need to provide the OTP code in this header
requestBody:
content:
application/x-www-form-urlencoded: