PUT
/
profiles
/
{smtp_id}
curl --request PUT \
  --url http://base.url.com/profiles/{smtp_id} \
  --header 'Content-Type: application/json' \
  --header 'x-phishy-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "username": "<string>",
  "password": "<string>",
  "host": "<string>",
  "port": 123,
  "interface_type": "SMTP",
  "from_address": "<string>",
  "ignore_cert_errors": false,
  "is_secure": true
}'
This response does not have an example.

Authorizations

x-phishy-api-key
string
header
required

Body

application/json

Updated profile information

The body is of type object.

Response

200

Updated profile response