ファイルの削除

    リソースを削除します。

    API の種類

    サービス API

    Request URL

    https://apis.worksmobile.com/r/{API ID}/drive/rl/{resourceLocation}/v2/files/{resourceKey}/delete

    HTTP Method

    DELETE

    Request

    Path Parameters

    パラメータ タイプ 説明
    resourceLocation String 対象リソースのロケーションコード
    resourceKey String 対象リソースのリソースキー

    Request Example

    DELETE /r/worksDev/drive/rl/12345/v2/files/MTQ1MDMwMDJ8NjQyMTcwMjk2MDc12312yfEZ8MA/delete HTTP/1.1
    Host: apis.worksmobile.com
    consumerkey: xxxxx
    Authorization: yyyyy
    

    Response

    Response Example

    HTTP/1.1 204 No Content
    Server: Apache
    Date: Tue, 10 Mar 2020 02:26:57 GMT
    Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
    Referrer-Policy: unsafe-url
    Connection: close