> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Apply SLA policies

> Set or remove the SLA policy on a thread.

Applying a policy is what starts the clock. The policy's targets become the thread's SLAs. Pass `serviceLevelAgreementPolicyId: null` to remove the policy, which cancels any target still counting down.

If your workspace still has legacy tier SLAs, a policy takes precedence over them on the thread, and removing the policy returns the thread to its tier's SLAs.

<Snippet file="graphql/sdk-note.mdx" />

This operation requires the following permissions:

* `thread:edit`

## Update the SLA policy on a thread

The returned thread's `serviceLevelAgreementStatusSummary` shows the state of each target after the change. For what happens to targets when a thread moves between policies, see [Change or remove a policy on a thread](/docs/product/platform/slas#change-or-remove-a-policy-on-a-thread).

<Snippet file="graphql/update-thread-sla-policy.mdx" />
