Skip to content

Toggle hidden template

Request

Enable or disable hidden template for an organization. When enabled, creates or unarchives a hidden template. When disabled, archives it.

Security
Bearer
Bodyapplication/json
companyIdobject(CompanyId)required

Company id

enabledbooleanrequired

Whether to enable or disable hidden template for the organization.

Example:true
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/event-templates/hidden \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "companyId": {
      "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
    },
    "enabled": true
  }'

Responses

OK

Bodyapplication/json
templateIdstring

ID of the hidden template. Present when enabled is true.

Example:"1234567890"
Response
{ "templateId": "1234567890" }