PUT
/
pages
/
{id}
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>"
}

Authorizations

x-phishy-api-key
string
header
required

Body

application/json

Updated details of the page

name
string
required

Name of the page to be updated

html
string
required

Updated HTML content of the page

capture_credentials
boolean
default:false
required

Flag to indicate whether the page should capture credentials

capture_passwords
boolean
default:false
required

Flag to indicate whether the page should capture passwords

Response

Page updated successfully

id
string
required

Unique identifier for the page

title
string
required

Title of the page

content
string
required

Content of the page