Brand
Macros
Restore Archived Macro

Restore Archived Macro

Restores an archived macro and records the user performing the action.

Overview

  • Method: POST
  • Path: /brand/macros/restore-archived-macro/<id>
  • Tags: brand

Parameters

id (path)

  • Type: string
  • Required: Yes
  • Description: id parameter

Request Body

  • Content Type: application/json
  • Required: Yes

Fields

FieldTypeRequiredDetails
descriptionstringYes

Responses

200

Successful response

Content Type: application/json

{}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  https://api.pillexa.com/brand/macros/restore-archived-macro/<id> \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'