loginProtectConfigApp — Configuring application-level settings

This method allows you to configure application-level settings for Login Protect.

The API endpoint is: https://api.sitelock.com/v1/partner

Request format

  • SiteLockOnlineRequest: This element is used to delineate the full API request.

    • authentication: The partner’s username, password, and branding.

      • username: The partner’s API username.

      • password: The partner’s API password.

    • loginProtectConfigApp: The method name.

      • site_id: The site ID for which to configure application-level settings for Login Protect.

      • app: The application-level settings to configure for Login Protect. The possible values are: Wordpress and Joomla.

Example request

<SiteLockOnlineRequest>
    <authentication>
        <user>User</user>
        <password>Password</password>
    </authentication>
    <loginProtectConfigApp>
        <site_id>1234</site_id>
        <app>wordpress</app>
    </loginProtectConfigApp>
</SiteLockOnlineRequest>

Response format

  • SiteLockOnlineResponse: This element is used to delineate the full API response.

    • loginProtectConfigApp: The method name.

      • message: A message providing additional information about the result of the request.

      • status: The status of the request.

      • error: An error element containing an error code and an error message.

Example response

<SiteLockOnlineResponse>
    <loginProtectConfigApp>
        <message>OK</message>
        <status>ok</status>
    </loginProtectConfigApp>
</SiteLockOnlineResponse>

Example error response

<SiteLockOnlineResponse>
    <loginProtectConfigApp>
        <error code="123">Error Message</error>
    </loginProtectConfigApp>
</SiteLockOnlineResponse>