remove
Description:
Remove a file or folder by just passing the filename
Request
https://api.moinet.io/moibit/v1/remove
Request type - POST
#
HeadersHeader Key | Header Value | Optional |
---|---|---|
nonce | <developer_nonce> | No |
signature | <signature gotten after signing developer_nonce by developer> | No |
developerKey | public id of the developer | No |
networkID | ID of the network the file exist | No |
appID | ID of the app the file the file exist | Yes |
enduser_nonce | <enduser nonce> | No if enduser has moi_id |
enduser_signature | <signature gotten after signing enduser_nonce by enduser> | No if enduser has moi_id |
enduserID | Id of the enduser if end-user doesn't have moi_id | Yes |
#
ParametersParam Key | Param Type | Description | Optional |
---|---|---|---|
path | String | File name or path | No |
isdir | Boolean | True: folder, false:file | No |
version | Integer | File version you want to delete | Yes |
operationType | Integer | 0: remove, 1: restore | No |