cURL
curl --request PUT \ --url http://base.url.com/pages/{id} \ --header 'Content-Type: application/json' \ --header 'x-phishy-api-key: <api-key>' \ --data ' { "name": "<string>", "html": "<string>", "capture_credentials": false, "capture_passwords": false } '
{ "id": "<string>", "title": "<string>", "content": "<string>" }
Updates a specific page by ID
Updated details of the page
Name of the page to be updated
Updated HTML content of the page
Flag to indicate whether the page should capture credentials
Flag to indicate whether the page should capture passwords
Page updated successfully
Unique identifier for the page
Title of the page
Content of the page