loginProtectDeleteUser — Deleting a user

This method allows you to delete an existing Login Protect user from a specified site.

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.

    • loginProtectDeleteUser: The method name.

      • site_id: The site ID for which to delete the user.

      • email: The user’s email address to be deleted.

Example request

<SiteLockOnlineRequest>
    <authentication>
        <user>gtdev</user>
        <password></password>
    </authentication>
    <loginProtectDeleteUser>
        <site_id>49031907</site_id>
        <email>[email protected]</email>
    </loginProtectDeleteUser>
</SiteLockOnlineRequest>

Response format

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

    • loginProtectDeleteUser: The method name.

      • message: The message returned by the API response.

      • status: The status of the API response.

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

Example response

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

Error response

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