cURL
curl --request PUT \ --url http://base.url.com/templates/{id} \ --header 'Content-Type: application/json' \ --header 'x-phishy-api-key: <api-key>' \ --data '{ "name": "<string>", "subject": "<string>", "text": "<string>", "html": "<string>", "attachment_name": "<string>", "attachmentInBody": true, "attachmentRedirectToPhished": true, "is_check_clicked_link": true, "is_check_submitted_data": true, "is_check_file_downloaded": true, "is_check_file_executed": true }'
{ "id": "<string>", "name": "<string>", "content": "<string>" }
Updates a specific template by ID
Updated details of the template
The body is of type object.
object
Template updated successfully
The response is of type object.