Activate notification template

Activates a specific version of the template for the provided name key and locale. It deactivates the other versions

Request
Security:
vc-security
query Parameters
name-key
required
string
locale
required
string
version
required
string
Responses
200

OK

401

Unauthorized request

put/notification-service/v1/template/activate
Request samples
curl -i -X PUT \
  'http://notification-service:8080/notification-service/v1/template/activate?name-key=string&locale=string&version=string' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "message": "Could not verify Webhook request",
  • "status": 401,
  • "error": "Unauthorized",
  • "timestamp": "2023-12-13T19:02:31.5897497",
  • "path": "/notification-service/v1/"
}