mosoodocs

ファイルを削除する

Thread より前にアップロードされたファイル、または API token 呼び出し元に表示されるパブリック Thread に添付されたファイルを削除します。

DELETE/files/{fileId}

Thread より前にアップロードされたファイル、または API token 呼び出し元に表示されるパブリック Thread に添付されたファイルを削除します。

Authorization

publicApiBearer
AuthorizationBearer <token>

Authorization: Bearer mst_... を使用します。 API token はアカウントを識別しますが、スコープは持ちません。

In: header

Path Parameters

fileId*string

Thread ファイルの追加またはリストによって返されるファイル ID。 v1 ID はベア ULID です。

Match^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$
Formatulid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/files/01J0000000000000000000000J"
{  "ok": true}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}
{  "error": {    "code": "agent_not_published",    "message": "string"  }}