diff --git a/.apigentools-info b/.apigentools-info index 4b616bbd1a9df..77892b61f32fd 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-02 15:19:45.584201", - "spec_repo_commit": "bc53c28f" + "regenerated": "2025-01-02 17:33:37.609315", + "spec_repo_commit": "733cf3ea" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-02 15:19:54.009415", - "spec_repo_commit": "bc53c28f" + "regenerated": "2025-01-02 17:33:45.606315", + "spec_repo_commit": "733cf3ea" } } } \ No newline at end of file diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index 917b5ddc2aac5..0e9f922a24355 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -41583,6 +41583,14 @@ paths: operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' + - description: Allows admins (users with the `user_access_manage` permission) + to remove their own access from the resource if set to `true`. By default, + this is set to `false`, preventing admins from locking themselves out. + in: query + name: allow_self_lockout + required: false + schema: + type: string requestBody: content: application/json: diff --git a/data/api/v2/full_spec_deref.json b/data/api/v2/full_spec_deref.json index 19bcaedc430a5..2928641512fc9 100644 --- a/data/api/v2/full_spec_deref.json +++ b/data/api/v2/full_spec_deref.json @@ -297320,6 +297320,15 @@ "schema": { "type": "string" } + }, + { + "description": "Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.", + "in": "query", + "name": "allow_self_lockout", + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": { diff --git a/static/resources/json/full_spec_v2.json b/static/resources/json/full_spec_v2.json index 19bcaedc430a5..2928641512fc9 100644 --- a/static/resources/json/full_spec_v2.json +++ b/static/resources/json/full_spec_v2.json @@ -297320,6 +297320,15 @@ "schema": { "type": "string" } + }, + { + "description": "Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.", + "in": "query", + "name": "allow_self_lockout", + "required": false, + "schema": { + "type": "string" + } } ], "requestBody": {