Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • success boolean Required

      Indicates whether or not the command was successful or not.

    • text string

      Text associated with the response.

    • action string

      Optional Action relating to the response.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
POST /account/2fa
curl \
 --request POST 'https://my.interserver.net/apiv2/account/2fa' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
{
  "text": "Ok",
  "success": true
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}