Mattermix Docs
  • Welcome to Mattermix
  • API
    • Create API key
    • Authentication
    • Create image
    • Delete image
    • Template syntax
    • Set API limit
  • Integrations
    • Zapier
  • Subscription
    • Manage subscription
Powered by GitBook
On this page
  1. API

Delete image

PreviousCreate imageNextTemplate syntax

Last updated 3 years ago

Before getting started: You will need to .

Delete image from Mattermix and Google CDN

DELETE https://mtmx.io/v1/image/:uid

The uid for the image can be found in the image URL. For example, if the image URL is https://cdn.mattermix.com/images/620d5489e8b565e74ce552c1/484ec22d-bfc9-4fc8-b764-6cf8d9b91f55.png the uid is 484ec22d-bfc9-4fc8-b764-6cf8d9b91f55.

Headers

Name
Type
Description

Authorization*

String

Bearer YOUR-API-KEY

{
    "success": true,
}
{
    "success": false,
    "statusCode": 401,
    "message": "Please provide a valid API key."
}
{
    "success": false,
    "statusCode": 500,
    "message": "Server error."
}
{
    "success": false,
    "statusCode": 404,
    "message": "Image with URL not found."
}
create your API key