---
title: "Rotates the organization export token and returns the updated organization"
method: PATCH
path: "/account/orgs/{org_id}/exportToken/rotate"
tags: ["Account"]
---

# Rotates the organization export token and returns the updated organization

`PATCH /account/orgs/{org_id}/exportToken/rotate`

## Path parameters

- `org_id` string, uuid, required

## Response `200`

organization details

- Organization
  - `id` string, uuid, required
  - `created_at` integer
  - `updated_at` integer
  - `client_id` string, uuid
  - `download_token` string
  - `download_token_created_at` integer
  - `permanent` boolean
  - `name` string, required
  - `description` string
  - `inactive` boolean
  - `deactivated_at` integer
  - `service_count` integer
  - `service_count_tcp` integer
  - `service_count_udp` integer
  - `service_count_arp` integer
  - `service_count_icmp` integer
  - `asset_count` integer
  - `export_token` string
  - `export_token_created_at` integer
  - `export_token_last_used_at` integer
  - `export_token_last_used_by` string
  - `export_token_counter` integer
  - `project` boolean
  - `parent_id` string, uuid
  - `expiration_assets_stale` integer
  - `expiration_assets_offline` integer
  - `expiration_scans` integer

## Other responses

- `401` — Access token is missing or invalid

---

[API](https://skmtc.net/rumble/apis/rumble-api-deprecated.md) · [All operations](https://skmtc.net/rumble/apis/rumble-api-deprecated/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rumble/rumble-api-deprecated/versions/7c193c1fcd5c/schema)
