DELETE
Delete a File by ID
https://api.moltin.com/v2/files/:id
Parameters
Path parameters
Name | Required | Type | Description |
id | Required | string | The unique identifier for the file. |
Headers
Name | Required | Type | Description |
Authorization | Required | string | The Bearer token required to get access to the API. |
Request Example
Curl
curl -X DELETE https://api.moltin.com/v2/files/:id \
-H "Authorization: Bearer XXXX"
JavaScript SDK
const fileId = "25617d3e-14a6-434c-bfab-3fda87517aaf";
await EPCC.Files.Delete(fileId);
Response Example
204 No Content
Last updated on 11/10/2022