Delete Page
Deletes a page.
The response contains recovery_token, which you can use to restore the page with
POST /v1/recovery_tokens/{idx}/recover.
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}
Path parameters
|
Name |
Description |
|
idx |
Type: integer Page ID. The value of |
Query parameters
|
Name |
Description |
|
recursive |
Type: boolean If Default: |
Responses
200 OK
OK
Body
application/json
{
"recovery_token": "example"
}
|
Name |
Description |
|
recovery_token |
Type: string<uuid4> Token for recovering a deleted page. In Example: |