Delete a Message Template
DELETE/agreements/:agreement_id/recipient_messages/message_templates/:message_template_id
Delete a recipient message template.
Request
Path Parameters
DELETE /agreements/:agreement_id/recipient_messages/message_templates/:message_template_id parameter
DELETE /agreements/:agreement_id/recipient_messages/message_templates/:message_template_id parameter
Responses
- 200
- 400
DELETE /agreements/:agreement_id/recipient_messages/message_templates/:message_template_id Successful response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [1.0
]
The version of the response schema
Possible values: [deleted
]
Returns a single object of the recipient_message_template resource which was deleted.
Possible values: [recipient_message_template
]
Data contains the recipient_message_template resource.
data objectrequired
The resource data that was deleted.
The unique identifier of the recipient message template
Possible values: [recipient_message_template
]
Possible values: [sv-SE
, en-US
]
UTC datetime ISO string
UTC datetime ISO string
{
"version": "1.0",
"result_type": "deleted",
"resource_type": "recipient_message_template",
"data": {
"id": "cy80mik8iwxn0jom970example",
"template_string": "string",
"resource_type": "recipient_message_template",
"locale": "sv-SE",
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
}
DELETE /agreements/:agreement_id/recipient_messages/message_templates/:message_template_id Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error
]
error objectrequired
Possible values: >= 400
and <= 599
{
"status": "error",
"error": {
"code": 0,
"message": "string",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}