---
title: "POST /auth/tokens/{pk}/deactivate"
method: POST
path: "/auth/tokens/{pk}/deactivate"
tags: ["Extensions"]
---

# POST /auth/tokens/{pk}/deactivate

`POST /auth/tokens/{pk}/deactivate`

## Path parameters

- `pk` string, required

## Response `200`

- AuthToken
  - `id` string
  - `name` string, nullable
  - `description` string, nullable
  - `external_id` string, nullable
  - `owner` AuthAccountReference, required
    - `id` string
    - `name` string, required
    - `icon` string, binary, nullable
  - `status` 'pending' | 'active' | 'inactive' | 'deleted' | 'expiring' | 'expired' | 'revitalised'
  - `extension` AuthExtensionReference, required
    - `id` string
    - `name` string, required — Extension type (f.e. "zapier"): should be lowercase, without whitespace.
    - `icon` string, binary, nullable
    - `revision` integer
  - `handle` string
  - `token` string
  - `events` object
  - `permissions` object[], required
    - `id` string
    - `object` object
      - `id` string
    - `events` object
      - `granted` object
        - `at` string, date-time
        - `by` object
          - `id` string
          - `name` string
  - `expiration_date` string, date-time, nullable
  - `renewed_expiration_date` string, date-time, nullable
  - `renewed_token` string

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
