PageService.DeletePage
DeletePage
Revoke page access and accept its exact content scope for cleanup.
Authentication
| 支持组合 | OAuth 2.0 |
|---|---|
| No identity | |
| User identity | |
| Org identity |
所需 scopes:pinpage:write
Request
路径参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
user_id | string | yes | Required. Owner path; accepts me or the authenticated user's identifier. |
page_id | string | yes | Required. Page to revoke and delete. |
查询参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
impactFingerprint | string | yes | Required. Exact impact fingerprint returned by the adjacent preview. |
expectedContentRevision | integer (int64) | yes | Required. Content revision returned by the adjacent preview. |
pageEtag | string | — | Optional. Exact representation validator requested by the client. |
请求头
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
X-Idempotency-Key | string | yes | Required opaque idempotency key for this operation. |
X-PinPage-Deletion-Confirmation | string | yes | Required short-lived deletion capability returned by the matching PinPage deletion preview operation. |
Response
200 OK · Empty
该接口成功响应无 body。
错误响应 · google.rpc.Status
非 2xx 响应均按 AIP-193 规范包装为google.rpc.Status,含 code /message /details 三段。details[].reason 是机器可读的具体错误原因码,可用于客户端分支处理。
| 字段 | 类型 | 必填 | 描述 |
|---|---|---|---|
code | integer (int32) | — | The status code, which should be an enum value of google.rpc.Code. |
message | string | — | A developer-facing error message. |
details | array<Any> | — | A list of messages that carry the error details. |
Examples
curl -X DELETE \
'https://api.appforges.com/v1/users/{user_id}/pinpage-pages/{page_id}' \
-H 'Authorization: Bearer $ACCESS_TOKEN'OpenAPI spec v0.59.4 · synced 10/11/2026, 11:27:14 PM