删除收支凭证

从一条收支条目上移除一张凭证,只影响这一条收支。条目不存在或当前操作者无权访问、或该凭证不在这条收支上时返回 404。图片文件本身不会从存储中删除:移除后原链接可能仍可打开,请不要依赖删除操作让已分享的链接失效。删除凭证不会改变该条目的 updated_at,也不会发送 webhook。需要具有写权限的令牌。

Path Params
int64
required

收支条目 ID。

int64
required

凭证 ID,即 POST /transactions/{id}/attachments 的返回值,或 GET /transactions 中 attachments 里的 id。

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json