коммит произвёл
GitHub
родитель
83006ff8ca
Коммит
d2594e5046
@@ -236,6 +236,16 @@
|
||||
$ref: "#/components/responses/InternalServerError"
|
||||
"/api/v4/access_control_policies/{policy_id}/activate":
|
||||
get:
|
||||
tags:
|
||||
- access control
|
||||
summary: Activate or deactivate an access control policy
|
||||
deprecated: true
|
||||
description: |
|
||||
This endpoint is deprecated. Use the POST /api/v4/access_control_policies/{policy_id}/activate instead.
|
||||
responses:
|
||||
"405":
|
||||
$ref: "#/components/responses/MethodNotAllowed"
|
||||
post:
|
||||
tags:
|
||||
- access control
|
||||
summary: Activate or deactivate an access control policy
|
||||
|
||||
@@ -28,6 +28,12 @@ components:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/AppError"
|
||||
MethodNotAllowed:
|
||||
description: Method not allowed
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/AppError"
|
||||
TooLarge:
|
||||
description: Content too large
|
||||
content:
|
||||
|
||||
Ссылка в новой задаче
Block a user