How to Log Out a Team Member Using DoubleTick’s Logout API

DoubleTick allows admins to remotely log out a team member from their DoubleTick account using a simple API call. This guide explains how to perform this action using the interactive API documentation at:

https://docs.doubletick.io/reference/logout-team-memberarrow-up-right

This guide does not require any local API setup or Postman — everything is done directly in the browser from the documentation page.


1. Open the Logout API Page

Navigate to:

👉 https://docs.doubletick.io/reference/logout-team-memberarrow-up-right

This page shows the Logout a Team Member endpoint along with example requests, response codes, and a built-in “Try It” feature.


2. Retrieve Your DoubleTick API Key

To execute the request, you will need your DoubleTick Public API Key.

Follow these steps:

  1. Log in to your DoubleTick account

  2. Go to Settings

  3. Look for Developer Documentation (inside the Settings menu)

  4. Copy the API Key

Note: This API key authorizes your request. Do not share this key publicly.


3. Paste Your API Key in the Documentation Header

Return to the API page:

👉 https://docs.doubletick.io/reference/logout-team-memberarrow-up-right

On the right-hand panel under Credentials, you will find a header field.

Paste the copied API key into this field.

Example format (auto-populates in headers):

This ensures that the request is authenticated.

4. Enter the Team Member’s Phone Number

In the request body section, you will see:

Replace "string" with the login phone number of the team member you want to log out.

Example:

Important:

  • Always include the country code (e.g., +91 for India)

5. Use the "Try It" Button to Execute the Request

On the right-hand panel, you will see the full cURL request auto-generated along with a green “Try It” button.

Click Try It.

This will send the request in real time and show the response below.


6. Understanding the Response Codes

After submitting, review the status code returned:

Status Code
Meaning

200 / 201

Success — Team member has been logged out

400

Incorrect payload (e.g., invalid JSON or formatting)

401

Unauthorized request (wrong or missing API key)

422

The phone number provided is not a team member

Example Outcomes

✔ Success

Team member is logged out automatically.

⚠ 400 – Incorrect Payload

Check formatting or missing fields.

❌ 401 – Unauthorized

Verify the API key entered in Credentials.

🚫 422 – Not a Team Member

Verify the login number exists in your DoubleTick team.


7. What Happens After Logout?

Once executed successfully:

  • The selected team member’s active DoubleTick session ends

  • They will be required to re-login to continue using DoubleTick

This is especially useful for:

✔ Security/account access management ✔ Removing old/ex-staff logins ✔ Managing shared devices ✔ Temporary lockouts


Summary

Using the Logout API, DoubleTick admins can remotely log out any team member directly through the documentation interface — without coding, Postman, or tools.

All you need is:

✔ API Key (from DoubleTick Settings → Developer Documentation) ✔ Login phone number of the team member (with country code) ✔ The “Try It” button on the docs page

Last updated