loginProtectConfigDeleteUrl — Removing a URL

This method removes a URL from the list of protected URLs 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.

      • user: The partner’s API username.

      • password: The partner’s API password.

    • loginProtectConfigDeleteUrl: The method name.

      • site_id: The site ID for which to remove the protected URL.

      • urls: The list of URLs to remove from the protected URLs for Login Protect.

        • url: The URL to remove from the protected URLs for Login Protect.

Example request

<SiteLockOnlineRequest>
    <authentication>
        <user>User</user>
        <password>Password</password>
    </authentication>
    <loginProtectConfigDeleteUrl>
        <site_id>49031907</site_id>
        <urls>
            <url>\https://example.com/page1</url>
        </urls>
    </loginProtectConfigDeleteUrl>
</SiteLockOnlineRequest>

Response format

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

    • loginProtectConfigDeleteUrl: The method name.

      • message: A message indicating the result of the request.

      • status: The status of the request.

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

Example request

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

Error response

<SiteLockOnlineResponse>
    <loginProtectConfigDeleteUrl>
        <error code="NNNN">Error Msg…XXXX</error>
    </loginProtectConfigDeleteUrl>
</SiteLockOnlineResponse>