POST /account

This endpoint allows you to manage various user details, including contact information and account security.

  • Use the GET method to retrieve your account information.
  • Use the POST method to update your stored contact and billing information.

Updates the stored contact and billing information we have in our system with the provided data.

Body Required

  • name string Required

    Your name.

  • company string

    Your company name.

  • address string Required

    Your address.

  • address2 string

    Additional address information.

  • city string Required

    Your city.

  • state string Required

    Your state.

  • zip string Required

    Your ZIP code.

  • country string Required

    Your country.

  • phone string Required

    Your phone number.

  • locale string

    Your preferred locale.

  • email_invoices string

    Your email for invoice notifications.

  • email_abuse string

    Your email for abuse notifications.

  • disable_reset boolean

    Set to true to disable account resets, or false to enable them.

  • disable_reinstall boolean

    Set to true to disable server reinstalls, or false to enable them.

  • disable_server_notifications boolean

    Set to true to disable server notifications, or false to enable them.

  • disable_email_notifications boolean

    Set to true to disable email notifications, or false to enable them.

  • gstin string

    Your GST identification number (if applicable).

Body Required

  • name string Required

    Your name.

  • company string

    Your company name.

  • address string Required

    Your address.

  • address2 string

    Additional address information.

  • city string Required

    Your city.

  • state string Required

    Your state.

  • zip string Required

    Your ZIP code.

  • country string Required

    Your country.

  • phone string Required

    Your phone number.

  • locale string

    Your preferred locale.

  • email_invoices string

    Your email for invoice notifications.

  • email_abuse string

    Your email for abuse notifications.

  • disable_reset boolean

    Set to true to disable account resets, or false to enable them.

  • disable_reinstall boolean

    Set to true to disable server reinstalls, or false to enable them.

  • disable_server_notifications boolean

    Set to true to disable server notifications, or false to enable them.

  • disable_email_notifications boolean

    Set to true to disable email notifications, or false to enable them.

  • gstin string

    Your GST identification number (if applicable).

Responses

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
  • default

    Default response

POST /account
curl \
 --request POST 'https://my.interserver.net/apiv2/account' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"zip":"17522","city":"My Town","name":"John Doe","gstin":"","phone":"8675309","state":"PA","locale":"","address":"124 My St","company":"My Company","country":"US","address2":"","email_abuse":"","disable_reset":false,"email_invoices":"","disable_reinstall":false,"disable_email_notifications":false,"disable_server_notifications":false}'
curl \
 --request POST 'https://my.interserver.net/apiv2/account' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "zip=17522" \
 --form "city=My Town" \
 --form "name=John Doe" \
 --form "gstin=" \
 --form "phone=8675309" \
 --form "state=PA" \
 --form "locale=" \
 --form "address=124 My St" \
 --form "company=My Company" \
 --form "country=US" \
 --form "address2=" \
 --form "email_abuse=" \
 --form "disable_reset=false" \
 --form "email_invoices=" \
 --form "disable_reinstall=false" \
 --form "disable_email_notifications=false" \
 --form "disable_server_notifications=false"
Request examples
{
  "zip": "17522",
  "city": "My Town",
  "name": "John Doe",
  "gstin": "",
  "phone": "8675309",
  "state": "PA",
  "locale": "",
  "address": "124 My St",
  "company": "My Company",
  "country": "US",
  "address2": "",
  "email_abuse": "",
  "disable_reset": false,
  "email_invoices": "",
  "disable_reinstall": false,
  "disable_email_notifications": false,
  "disable_server_notifications": false
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}