Remove personal page access permissions

Removes personal access permissions from the page, except for the owner's access permission.

Use prevent_selflock=true to prevent accidentally locking the current user out of
the page.

For common headers and authentication methods, see Access to the API. For sample scenarios, see API usage examples.

Request

DELETE

https://api.wiki.yandex.net/v1/pages/{idx}/access

Path parameters

Name

Description

idx

Type: integer

Page ID. The value of idx is the same as the id field value in the response to GET /v1/pages?slug=… or POST /v1/pages.

Query parameters

Name

Description

prevent_selflock

Type: boolean

If true, returns an error if removing access permissions would cause a co-author to lose permission to read the page or manage its access.

Default: false

Responses

204 No Content

No Content

Body

application/json
{}

Name

Description