> For the complete documentation index, see [llms.txt](https://help.cerby.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cerby.com/tips-and-troubleshooting/best-practices/accounts/tiktok-password-rotation-and-session-termination.md).

# TikTok password rotation and session termination

This article describes how Cerby handles session termination when rotating the password for a TikTok account.

{% hint style="info" %}
**Who can use this feature?**

* Workspace **Owners**, **Super Admins**, and **Admins**
* Only supported using the Cerby web app

This behavior isn't gated by role on its own. It applies automatically to any TikTok password rotation once Cerby turns on session termination for your workspace.
{% endhint %}

When you rotate the password for a TikTok account in Cerby, Cerby rotates the password and also removes all active TikTok sessions for that account. This ensures that anyone with an existing session is logged out and must log back in with the new credentials, reducing the risk of continued unauthorized access after a password change.

{% hint style="warning" %}
**IMPORTANT:** TikTok session termination must be turned on for your workspace. To turn it on, contact your Customer Success representative.
{% endhint %}

***

## How TikTok password rotation works in Cerby

When a TikTok password rotation runs, Cerby performs the following actions in sequence:

1. Cerby rotates the TikTok account password.
2. After the password is changed, Cerby removes all active sessions for that account, logging out any device or browser with an open session.

{% hint style="info" %}
**NOTE:** If the password rotation step encounters an error, Cerby still attempts to remove active sessions. This limits continued access to the account even when the password change was not completed successfully.
{% endhint %}

***

## Automation job status

The following describes the job status you can expect after a TikTok password rotation:

| Outcome                                               | Job status |
| ----------------------------------------------------- | ---------- |
| Password rotated and sessions removed successfully    | Completed  |
| Password rotation failed, sessions removed            | Error      |
| Password rotation failed, session removal also failed | Error      |

When a job reports an error, use the **Automation Log** to review the job details and find the specific step that failed. See [Automation Log](https://help.cerby.com/cerby-web-app/automation-log) for more information.

***

## Related articles

The following articles contain more information about password rotation in Cerby:

* [Rotate an account password automatically](https://help.cerby.com/cerby-web-app/accounts/protecting-your-accounts/rotate-an-account-password-automatically)
* [How Cerby protects your passwords](https://help.cerby.com/tips-and-troubleshooting/best-practices/accounts/how-cerby-protects-your-passwords.md)
* [Create a password policy](https://help.cerby.com/setup-and-admin/security-governance/password-policies/create-a-password-policy)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.cerby.com/tips-and-troubleshooting/best-practices/accounts/tiktok-password-rotation-and-session-termination.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
