OpenAPIOauth2
Rotate Auth Application Secret
Authorization
OAuth2PasswordBearer AuthorizationBearer <token>
In: header
Path Parameters
app_id*string
Response Body
application/json
application/json
curl -X POST "https://app.otascribe.ru/api/api/oauth2/rotate_secret/string"{
"allowed_hosts": [
"string"
],
"name": "string",
"description": "string",
"auth_type": "auth_by_telegram_id",
"app_id": "string",
"app_secret": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}