Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it’s deleted, an API token cannot be recovered.
DELETE
/
organizations
/
{organizationId}
/
tokens
/
{tokenId}
Error
A valid request URL is required to generate request examples
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Astronomer","description":"Documentation for Astro, Astronomer's managed Apache Airflow platform, plus Astro Private Cloud, Astro Runtime, the Astro CLI, the Astro API, and Airflow learning guides.","colors":{"primary":"#6B3aad","light":"#c69dff","dark":"#6B3aad"},"logo":{"light":"https://mintcdn.com/astronomer/U_UZjTkJqgXPi7dz/images/logo-light.svg?fit=max\u0026auto=format\u0026n=U_UZjTkJqgXPi7dz\u0026q=85\u0026s=e0826571e784a49618fef3e33a90cb43","dark":"https://mintcdn.com/astronomer/U_UZjTkJqgXPi7dz/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=U_UZjTkJqgXPi7dz\u0026q=85\u0026s=365121f377a9f6fe6d4fc98a9c049287"},"favicon":"https://mintcdn.com/astronomer/Dj3lmYK-LeP4OB1k/images/favicon.svg?fit=max\u0026auto=format\u0026n=Dj3lmYK-LeP4OB1k\u0026q=85\u0026s=6d7f1fa50a345cb373b918c25b8afff3","api":{"openapi":{"source":"astro/api/v-1/openapi.yaml","directory":"astro/api/v-1/"}},"background":{"color":{"light":"#ffffff","dark":"#131426"}},"navbar":{"links":[{"href":"https://www.astronomer.io/product/","label":"Product"},{"href":"https://www.astronomer.io/customers/","label":"Customers"},{"href":"https://www.astronomer.io/events/webinars/","label":"Webinars"},{"href":"https://www.astronomer.io/pricing/","label":"Pricing"}],"primary":{"type":"button","label":"Get Started Free","href":"https://www.astronomer.io/lp/signup/"}},"footer":{"socials":{"github":"https://github.com/astronomer","linkedin":"https://www.linkedin.com/company/astronomer","youtube":"https://www.youtube.com/c/astronomer","x":"https://x.com/astronomerio"},"links":[{"header":"Product","items":[{"label":"Platform Overview","href":"https://www.astronomer.io/product"},{"label":"Astro Observe","href":"https://www.astronomer.io/product/observe"},{"label":"Astro Private Cloud","href":"https://www.astronomer.io/product/astro-private-cloud"},{"label":"Security \u0026 Trust","href":"https://www.astronomer.io/security"},{"label":"Pricing","href":"https://www.astronomer.io/pricing"},{"label":"Cosmos","href":"https://www.astronomer.io/cosmos"},{"label":"Professional Services","href":"https://www.astronomer.io/professional-services"}]},{"header":"Solutions","items":[{"label":"All Use Cases","href":"https://www.astronomer.io/solutions"},{"label":"AI Ops","href":"https://www.astronomer.io/solutions/ai-ml"},{"label":"Data Observability","href":"https://www.astronomer.io/solutions/data-observability"},{"label":"ETL/ELT","href":"https://www.astronomer.io/solutions/etl-elt"},{"label":"ML Ops","href":"https://www.astronomer.io/solutions/mlops"},{"label":"Financial Services","href":"https://www.astronomer.io/solutions/financial-services"},{"label":"Retail","href":"https://www.astronomer.io/solutions/retail-ecommerce"}]},{"header":"Resources","items":[{"label":"Academy","href":"https://academy.astronomer.io/"},{"label":"Blog","href":"https://www.astronomer.io/blog"},{"label":"Webinars","href":"https://www.astronomer.io/events/webinars"},{"label":"Events","href":"https://www.astronomer.io/events"},{"label":"What is Airflow","href":"https://www.astronomer.io/airflow"},{"label":"Airflow 3.0","href":"https://www.astronomer.io/airflow/3"},{"label":"Airflow 2.x End of Life","href":"https://www.astronomer.io/airflow-2-eol"}]},{"header":"Company","items":[{"label":"Our Story","href":"https://www.astronomer.io/about-us"},{"label":"Careers","href":"https://www.astronomer.io/careers"},{"label":"Contact","href":"https://www.astronomer.io/contact"},{"label":"Support","href":"https://support.astronomer.io/hc/en-us"},{"label":"Legal","href":"https://www.astronomer.io/legal"},{"label":"Privacy","href":"https://www.astronomer.io/privacy"},{"label":"Terms of Service","href":"https://www.astronomer.io/legal/terms-of-service"}]}]},"search":{"prompt":"Search Astronomer docs..."},"seo":{"metatags":{"canonical":"https://www.astronomer.io/docs","og:site_name":"Astronomer Documentation","og:image":"https://www.astronomer.io/docs/images/astronomer-card.png","twitter:card":"summary_large_image","twitter:image":"https://www.astronomer.io/docs/images/astronomer-card.png"},"organization":{"id":"https://www.astronomer.io/#organization","name":"Astronomer","legalName":"Astronomer, Inc.","url":"https://www.astronomer.io","sameAs":["https://github.com/astronomer","https://www.linkedin.com/company/astronomer/","https://x.com/astronomerio","https://www.youtube.com/c/astronomer"]}},"fonts":{"heading":{"family":"Albert Sans"},"body":{"family":"Inter"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"gtm":{"tagId":"GTM-WCJNSWTS"}},"contextual":{"options":["copy","download-pdf","chatgpt","claude","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"astronomer","hasAudioNarration":false,"actualSubdomain":"astronomer","customDomains":["astronomer.io"],"gitSource":{"type":"github","owner":"astronomer","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5f7efcf5b122bc79cd940","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Astro CLI","count":3122},{"language":"default","tag":"CLI reference","count":1346},{"language":"default","tag":"Astro Private Cloud","count":1056},{"language":"default","tag":"Astro","count":534},{"language":"default","tag":"Airflow","count":508},{"language":"default","tag":"Astro API","count":504},{"language":"default","tag":"astro deployment","count":406},{"language":"default","tag":"astro workspace","count":210},{"language":"default","tag":"astro organization","count":180},{"language":"default","tag":"Administration","count":167}],"searchSettings":{"maxResults":20,"isFiltersEnabled":true,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":true},"customCss":[{"filePath":"custom/footer.css","content":"main{overflow-x:clip!important;border-radius:0!important}#footer{border-top:none!important;margin-left:calc(-1 * var(--main-padding-x, 0px))!important;margin-right:calc(-1 * var(--main-padding-x, 0px))!important}#footer a.select-none{display:none!important}#footer h2,#footer h3,#footer h4,#footer p.font-semibold,#footer p.text-sm.font-semibold{font-family:var(\n --theme-font-family-mono,\n \"Roboto Mono\",\n monospace\n )!important;font-size:12px!important;font-weight:700!important;letter-spacing:1px!important;text-transform:uppercase!important}"},{"filePath":"custom/header.css","content":":root{--mintlify-slot-header-height: 70px}@media (max-width: 1023px){:root{--mintlify-slot-header-height: 120px}}#navbar{background-color:var(--new-moon-90, #1d1d2c)!important;border:none!important;height:70px!important}#navbar .h-14{height:70px!important}@media (max-width: 1023px){#navbar,#navbar .h-14{height:60px!important}}#navbar .nav-logo[alt=\"light logo\"]{display:none!important}#navbar .nav-logo[alt=\"dark logo\"]{display:block!important;height:18px!important;width:auto!important}#navbar [data-component-part=\"products-selector-trigger\"]{color:var(--new-moon-10, #f0ece5)!important}#navbar [data-component-part=\"products-selector-trigger\"] span{color:var(--new-moon-10, #f0ece5)!important}#navbar [data-component-part=\"products-selector-trigger\"] svg[style*=\"mask-image\"]{background-color:var(--new-moon-10, #f0ece5)!important}#navbar [data-component-part=\"products-selector-trigger\"] svg:not([style*=\"mask-image\"]){color:var(--new-moon-50, #969194)!important}#navbar [data-component-part=\"products-selector-trigger\"]:hover,#navbar [data-component-part=\"products-selector-trigger\"]:focus-visible,#navbar [data-component-part=\"products-selector-trigger\"][aria-expanded=\"true\"]{background-color:var(--new-moon-80, #343247)!important;color:var(--new-moon-10, #f0ece5)!important}#navbar li.navbar-link{border:none!important;background:transparent!important;padding:0!important;border-radius:5px!important;display:inline-flex!important}#navbar li.navbar-link a{color:var(--new-moon-10, #f0ece5)!important;font-size:14px!important;font-weight:500!important;padding:4px 12px!important;border-radius:5px!important;transition:background-color 0.2s ease!important;text-decoration:none!important;opacity:1!important}#navbar li.navbar-link:hover,#navbar li.navbar-link a:hover,#navbar li.navbar-link a:focus{background-color:var(--new-moon-80, #343247)!important;opacity:1!important}#topbar-cta-button{display:inline-flex!important}#topbar-cta-button a{background-color:var(--gold-40, #ffb32d)!important;color:var(--new-moon-90, #1d1d2c)!important;border-radius:5px!important;padding:8px 20px!important;font-weight:600!important;font-size:14px!important;opacity:1!important;transition:background-color 0.2s ease!important}#topbar-cta-button a span{color:var(--new-moon-90, #1d1d2c)!important;font-weight:600!important;font-size:14px!important;opacity:1!important;line-height:2.14}#topbar-cta-button a:hover{background-color:var(--new-moon-20)!important;opacity:1!important}#search-bar-entry{padding-right:0.875rem;padding-left:0.65rem;padding-block:0}#search-bar-entry .truncate{font-size:12px}@media screen and (min-width: 1023px){a.select-none+div>button[type=\"button\"]{color:white!important}}#navbar.is-filled{box-shadow:0 2px 16px rgba(0, 0, 0, 0.4)}button.logout-link{color:var(--new-moon-10);margin-inline:0.5rem 1rem}@media screen and (max-width: 1023px){button.flex.items-center.h-14.py-4.px-5.lg\\:hidden.focus\\:outline-0.w-full.text-left{background:#f7f7f7}html.dark button.flex.items-center.h-14.py-4.px-5.lg\\:hidden.focus\\:outline-0.w-full.text-left{background:var(--new-moon-90)}}"},{"filePath":"custom/variables.css","content":":root{--main-padding-x: 1rem;--red-05: #fff2f3;--red-10: #ffe3e5;--red-20: #ffb6bb;--red-30: #ff929a;--red-40: #fd6d77;--red-50: #f03a47;--red-60: #c5283d;--red-70: #b4162b;--red-80: #9a0b1e;--red-90: #7b0011;--red-pink: #ed749d;--gold-05: #fffaf1;--gold-10: #fff1d8;--gold-20: #ffe3b3;--gold-30: #ffd07d;--gold-40: #ffb32d;--gold-50: #e89428;--gold-60: #dd8513;--gold-70: #c2730c;--gold-80: #a55d05;--gold-90: #7f4002;--gold-fg: #1b130a;--teal-05: #e3fbff;--teal-10: #c2f7ff;--teal-20: #95e8f5;--teal-30: #74d5e4;--teal-40: #44c9de;--teal-50: #13bdd7;--teal-60: #00a2bb;--teal-70: #0095ac;--teal-80: #008397;--teal-90: #006271;--green-05: #e6fff0;--green-10: #c4f9da;--green-20: #95f1ba;--green-30: #6bde99;--green-40: #42cc7a;--green-50: #19ba5a;--green-60: #118a06;--green-70: #0d7503;--green-80: #0a5702;--green-90: #053900;--blue-05: #f0f5ff;--blue-10: #d2e3ff;--blue-20: #adcbff;--blue-30: #81afff;--blue-40: #5493ff;--blue-50: #2676ff;--blue-60: #0458ea;--blue-70: #024bc9;--blue-80: #003da6;--blue-90: #00276a;--purple-05: #f7f3ff;--purple-10: #e8dbfe;--purple-20: #d9c2fe;--purple-30: #c9aafd;--purple-40: #ba91fc;--purple-50: #a067fb;--purple-60: #872ded;--purple-70: #6d23c0;--purple-80: #521993;--purple-90: #380e65;--purple-95: #1d0438;--purple-99: #0d011a;--new-moon-05: #f8f5f2;--new-moon-10: #f0ece5;--new-moon-20: #e9e2d8;--new-moon-30: #d0c9c2;--new-moon-40: #b6b1ad;--new-moon-50: #969194;--new-moon-60: #75727a;--new-moon-70: #555261;--new-moon-80: #343247;--new-moon-85: #2d2c3f;--new-moon-90: #1d1d2c;--new-moon-95: #111121;--new-moon-99: #040416;--topaz-50: #ffeee1;--topaz-100: #ffd9bd;--topaz-200: #ffc399;--topaz-300: #ff9d61;--topaz-400: #ff792e;--topaz-500: #d85d15;--topaz-600: #b14807;--topaz-700: #8a3700;--topaz-800: #632800;--white: #fff;--black: var(--new-moon-99);--surface-secondary: var(--grey-10);--theme-font-family-heading: \"League Gothic\", sans-serif;--theme-font-family-body: \"Roboto\", \"Inter\", sans-serif;--theme-font-family-mono: \"Roboto Mono\", monospace;--theme-font-family-condensed: \"Roboto Condensed\", \"Roboto\", sans-serif;--ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);--theme-primary-color: var(--new-moon-90);--theme-background-color: var(--white);--theme-accent-color: var(--gold-40);--theme-secondary-color: var(--new-moon-70)}@media (min-width: 800px){:root{--main-padding-x: 2rem}}@media (min-width: 1024px){:root{--main-padding-x: 2.5rem}}.card,.callout{border-radius:5px!important}.acds-button{--button-background-color: var(--gold-40, #ffb32d);--button-color: var(--new-moon-90, #1d1d2c);--button-background-color-hover: var(--new-moon-20);--button-color-hover: var(--new-moon-90, #1d1d2c);text-align:center;background:var(--button-background-color);color:var(--button-color);cursor:pointer;letter-spacing:0.2738px;border:3px solid var(--button-border-color);min-width:max-content;font-size:14px;font-style:normal;font-weight:600;line-height:2.14;font-family:var(--theme-font-family-body);border-radius:5px;padding:8px 20px;text-decoration:none;transition:all 0.3s;display:inline-block}.acds-button span{color:inherit!important}.acds-button svg{color:var(--new-moon-90, #1d1d2c);background-color:var(--new-moon-90, #1d1d2c)}.acds-button:hover{background-color:var(--button-background-color-hover, --new-moon-20);color:var(--button-color-hover, var(--button-color));text-decoration:none}.acds-button.secondary,.acds-button.secondary span{--button-background-color: var(--new-moon-70);--button-color: var(--white, #fff);--button-background-color-hover: var(--new-moon-90);--button-color-hover: var(--white, #fff);color:var(--button-color)!important}html.dark .acds-button:not(.secondary) span{color:var(--button-color)!important}#content-area{max-width:60rem!important}#content-container{padding-top:2rem;padding-inline:var(--main-padding-x)!important}#sidebar-content{padding-top:1rem}#sidebar-content>div>div.px-2{padding:0!important}#search-bar-entry,.sidebar-group button,.sidebar-group a{border-radius:5px!important}#page-context-menu-button{border-top-left-radius:5px;border-bottom-left-radius:5px}#page-context-menu-button+button{border-top-right-radius:5px;border-bottom-right-radius:5px}.eyebrow{font-family:var(--theme-font-family-mono);text-transform:uppercase;letter-spacing:0.1em;font-weight:600;font-size:12px;line-height:1.33}.scroll-mt-\\(--scroll-mt\\).almond-layout.top-\\[var\\(--mintlify-slot-header-height\\,7rem\\)\\].lg\\:top-\\[var\\(--mintlify-slot-header-height\\,3\\.5rem\\)\\].peer-\\[\\.is-not-custom\\]\\:fixed.peer-\\[\\.is-not-custom\\]\\:pb-2.peer-\\[\\.is-not-custom\\]\\:px-2.peer-\\[\\.is-not-custom\\]\\:pt-0.peer-\\[\\.is-custom\\]\\:absolute.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:sm\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:md\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:lg\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:xl\\:hidden\\!{position:relative;padding-right:0;padding-bottom:0;width:100%!important}.flex.rounded-2xl.h-\\[calc\\(100dvh-1rem-var\\(--mintlify-slot-header-height\\,7rem\\)\\)\\].lg\\:h-\\[calc\\(100dvh-0\\.5rem-var\\(--mintlify-slot-header-height\\,3\\.5rem\\)\\)\\]{height:100%}#header>div:first-of-type+div p{margin-top:1rem;font-size:1rem;font-style:italic}.sticky.shrink-0.z-22.pt-2.pb-2.pr-2.mt-\\(--banner-height\\,0px\\).top-\\(--banner-height\\,0px\\).h-\\[calc\\(100vh-var\\(--banner-height\\,0px\\)\\)\\].print\\:hidden{padding:0;border-radius:0!important}#chat-assistant-sheet{border-radius:0}.flex.flex-col.sm\\:grid.max-md\\:grid-cols-2\\!.gap-8.flex-1{display:flex!important;justify-content:start;align-items:center;flex-wrap:wrap;flex-direction:row}.flex.flex-col.sm\\:grid.max-md\\:grid-cols-2\\!.gap-8.flex-1>div{flex:0 1 auto;max-width:min-content}@media screen and (max-width: 639px){.flex.flex-col.sm\\:grid.max-md\\:grid-cols-2\\!.gap-8.flex-1{align-items:start}.flex.flex-col.sm\\:grid.max-md\\:grid-cols-2\\!.gap-8.flex-1>div{flex:1 1 40%;max-width:none}}@media screen and (max-width: 1023px){.scroll-mt-\\(--scroll-mt\\).almond-layout.top-\\[var\\(--mintlify-slot-header-height\\,7rem\\)\\].lg\\:top-\\[var\\(--mintlify-slot-header-height\\,3\\.5rem\\)\\].peer-\\[\\.is-not-custom\\]\\:fixed.peer-\\[\\.is-not-custom\\]\\:pb-2.peer-\\[\\.is-not-custom\\]\\:px-2.peer-\\[\\.is-not-custom\\]\\:pt-0.peer-\\[\\.is-custom\\]\\:absolute.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:sm\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:md\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:lg\\:hidden\\!.peer-\\[\\.is-custom\\]\\:\\[\\\u0026\\>\\:first-child\\]\\:xl\\:hidden\\!{padding-left:0}}"},{"filePath":"custom/home-search.css","content":".home-search-trigger{display:flex;align-items:center;gap:0.625rem;width:100%;padding:0.875rem 1.125rem;border:1px solid var(--new-moon-20, #e9e2d8);border-radius:8px;background:var(--white, #fff);color:var(--new-moon-50, #969194);font-family:var(--theme-font-family-body);font-size:15px;text-align:left;cursor:pointer;transition:border-color 0.2s ease,\n box-shadow 0.2s ease}.home-search-trigger:hover,.home-search-trigger:focus-visible{border-color:var(--new-moon-40, #b6b1ad);box-shadow:0 1px 4px rgba(0, 0, 0, 0.06);outline:none}.home-search-trigger svg{flex-shrink:0;color:var(--new-moon-50, #969194);background-color:var(--new-moon-50, #969194)}html.dark .home-search-trigger{background:var(--new-moon-85, #2d2c3f);border-color:var(--new-moon-80, #343247);color:var(--new-moon-40, #b6b1ad)}html.dark .home-search-trigger:hover,html.dark .home-search-trigger:focus-visible{border-color:var(--new-moon-60, #75727a)}"},{"filePath":"custom/sidebar.css","content":".sidebar-group-header{font-size:1rem;font-weight:600;color:var(--new-moon-90, #1d1d2c)}html.dark .sidebar-group-header{color:var(--new-moon-10, #f0ece5)}.sidebar-group>li[data-group-tag]{margin-top:0.75rem}.sidebar-group>li[data-group-tag]:first-child{margin-top:0.25rem}.sidebar-group>li[data-group-tag]>button{font-weight:600;color:var(--new-moon-90, #1d1d2c)}html.dark .sidebar-group>li[data-group-tag]>button{color:var(--new-moon-10, #f0ece5)}"}],"page":{"pagePath":"astro/api/v-1-labs/api-token/delete-an-api-token","slug":"/astro/api/v-1-labs/api-token/delete-an-api-token","pageMetadata":{"title":"Delete an API token","description":"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it's deleted, an API token cannot be recovered.","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/tokens/{tokenId}","href":"/astro/api/v-1-labs/api-token/delete-an-api-token","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it’s deleted, an API token cannot be recovered.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Delete an API token","description":"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it's deleted, an API token cannot be recovered.","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/tokens/{tokenId}","href":"/astro/api/v-1-labs/api-token/delete-an-api-token","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/astronomer/46b6c05e40efd5a8/custom/footer-copyright.js","/docs/_mintlify/custom/astronomer/fdfd7818f1bab435/custom/header.js","/docs/_mintlify/custom/astronomer/15d4f032d5ffce84/custom/home-search.js"],"openApiReferenceData":{"operation":{"description":"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it's deleted, an API token cannot be recovered.","operationId":"DeleteApiToken","parameters":["e2ddb721-d259-480b-b43c-bf9d6efac4be","329b62e1-7e6b-4478-84d4-d9078737ab45"],"responses":{"204":"41cfa526-cb54-4823-b1b6-ff562a020782","400":"66c1d1f4-b66f-4856-94e5-9fbf8687752a","401":"032c4e1c-4b14-4330-b586-4dbc394014ec","403":"9a7766f0-2b92-4b09-a99a-9f89a93d2d86","404":"4b9c9cd7-00da-431f-ac05-22c766a9d09d","500":"a0c799c3-ff4f-4aad-b15f-6c986df2705e"},"security":["40ac3d40-d10a-4913-a0d2-c92ebf3d506c"],"summary":"Delete an API token","tags":["api-token"],"x-permission":[{"action":"organization.apiTokens.access"}],"method":"delete","type":"path","servers":["f22f06e2-9a6a-42f4-b9c2-68b8f2e736ba"],"path":"/organizations/{organizationId}/tokens/{tokenId}","baseUrlOptions":["/labs/v1.1"],"title":"Delete an API token","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e2ddb721-d259-480b-b43c-bf9d6efac4be":{"description":"The ID of the Organization where you want to delete the token.","in":"path","name":"organizationId","required":true,"schema":{"type":"string","isRequired":true,"description":"The ID of the Organization where you want to delete the token.","uniqueKey":"","typeLabel":"string"}},"329b62e1-7e6b-4478-84d4-d9078737ab45":{"description":"The API token ID","in":"path","name":"tokenId","required":true,"schema":{"type":"string","isRequired":true,"description":"The API token ID","uniqueKey":"","typeLabel":"string"}}},"responses":{"41cfa526-cb54-4823-b1b6-ff562a020782":{"description":""},"66c1d1f4-b66f-4856-94e5-9fbf8687752a":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"statusCode":{"maximum":600,"minimum":400,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"fieldErrors":{"description":"FieldErrors carries one entry per failed request-validation constraint. Only present on 400 responses caused by request binding/validation.","items":{"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"type":"object","uniqueKey":"fieldErrors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fieldErrors","typeLabel":"object[]"}},"required":["message","requestId","statusCode"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","requestId":"\u003cstring>","statusCode":500,"fieldErrors":[{"code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"description":"Bad Request","exampleType":"generated"},"032c4e1c-4b14-4330-b586-4dbc394014ec":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"statusCode":{"maximum":600,"minimum":400,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"fieldErrors":{"description":"FieldErrors carries one entry per failed request-validation constraint. Only present on 400 responses caused by request binding/validation.","items":{"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"type":"object","uniqueKey":"fieldErrors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fieldErrors","typeLabel":"object[]"}},"required":["message","requestId","statusCode"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","requestId":"\u003cstring>","statusCode":500,"fieldErrors":[{"code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"9a7766f0-2b92-4b09-a99a-9f89a93d2d86":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"statusCode":{"maximum":600,"minimum":400,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"fieldErrors":{"description":"FieldErrors carries one entry per failed request-validation constraint. Only present on 400 responses caused by request binding/validation.","items":{"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"type":"object","uniqueKey":"fieldErrors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fieldErrors","typeLabel":"object[]"}},"required":["message","requestId","statusCode"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","requestId":"\u003cstring>","statusCode":500,"fieldErrors":[{"code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"description":"Forbidden","exampleType":"generated"},"4b9c9cd7-00da-431f-ac05-22c766a9d09d":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"statusCode":{"maximum":600,"minimum":400,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"fieldErrors":{"description":"FieldErrors carries one entry per failed request-validation constraint. Only present on 400 responses caused by request binding/validation.","items":{"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"type":"object","uniqueKey":"fieldErrors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fieldErrors","typeLabel":"object[]"}},"required":["message","requestId","statusCode"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","requestId":"\u003cstring>","statusCode":500,"fieldErrors":[{"code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"a0c799c3-ff4f-4aad-b15f-6c986df2705e":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"statusCode":{"maximum":600,"minimum":400,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"fieldErrors":{"description":"FieldErrors carries one entry per failed request-validation constraint. Only present on 400 responses caused by request binding/validation.","items":{"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"fieldErrors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"type":"object","uniqueKey":"fieldErrors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"fieldErrors","typeLabel":"object[]"}},"required":["message","requestId","statusCode"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","requestId":"\u003cstring>","statusCode":500,"fieldErrors":[{"code":"\u003cstring>","field":"\u003cstring>","message":"\u003cstring>"}]}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"}},"security":{"40ac3d40-d10a-4913-a0d2-c92ebf3d506c":{"JWT":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"JWT"}}},"servers":{"f22f06e2-9a6a-42f4-b9c2-68b8f2e736ba":{"url":"/labs/v1.1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","type":"http","scopes":[],"schemeName":"JWT"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"JWT","name":"Authorization"}],"title":"JWT"}]},"originalFileLocation":"astro/api/v-1-labs/openapi.yaml"},"subdomain":"astronomer","siteName":"Astronomer","title":"Delete an API token - Astronomer","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{"v1":{"href":"/astro/api/v-1/api-token/delete-an-api-token","matchLevel":1},"v1labs":{"href":"/astro/api/v-1-labs/api-token/delete-an-api-token","matchLevel":0},"v1beta1":{"href":"/astro/api/v-1-beta-1/v1beta1-deprecation-notice","matchLevel":2},"v2.x":{"href":"/astro-private-cloud/v-2-x/astro-private-cloud-overview","matchLevel":4},"v1.x":{"href":"/astro-private-cloud/v-1-x/astro-private-cloud-overview","matchLevel":4},"v0.37":{"href":"/astro-private-cloud/v-0-37/software-overview","matchLevel":4},"v0.36":{"href":"/astro-private-cloud/v-0-36/overview-0.36","matchLevel":4},"v0.34":{"href":"/astro-private-cloud/v-0-34/overview-0.34","matchLevel":4},"Archive":{"href":"/astro-private-cloud/archive/documentation-archive","matchLevel":4},"v1.47":{"href":"/cli/v1.47/overview","matchLevel":4},"v1.46":{"href":"/cli/v1.46/overview","matchLevel":4},"v1.45":{"href":"/cli/v1.45/overview","matchLevel":4},"v1.44":{"href":"/cli/v1.44/overview","matchLevel":4},"v1.43":{"href":"/cli/v1.43/overview","matchLevel":4},"v1.42":{"href":"/cli/v1.42/overview","matchLevel":4},"v1.41":{"href":"/cli/v1.41/overview","matchLevel":4},"v1.40":{"href":"/cli/v1.40/overview","matchLevel":4},"v1.39":{"href":"/cli/v1.39/overview","matchLevel":4},"v1.38":{"href":"/cli/v1.38/overview","matchLevel":4},"Airflow 3":{"href":"/airflow/overview","matchLevel":4},"Airflow 2":{"href":"/airflow/2.x/overview","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T16:29:05.851Z","originalFileLocation":"astro/api/v-1-labs/api-token/delete-an-api-token.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it\u0026#x27;s deleted, an API token cannot be recovered.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Astronomer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete an API token - Astronomer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it\u0026#x27;s deleted, an API token cannot be recovered.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Astronomer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://www.astronomer.io/docs/images/astronomer-card.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Delete an API token - Astronomer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it\u0026#x27;s deleted, an API token cannot be recovered.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://www.astronomer.io/docs/images/astronomer-card.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/astronomer/qeNb2c1imgRQqBmD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Astronomer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B3aad\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/astro/api/v-1-labs/api-token/delete-an-api-token.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.astronomer.io/#organization\",\"name\":\"Astronomer\",\"legalName\":\"Astronomer, Inc.\",\"url\":\"https://www.astronomer.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/astronomer/U_UZjTkJqgXPi7dz/images/logo-light.svg?fit=max\u0026auto=format\u0026n=U_UZjTkJqgXPi7dz\u0026q=85\u0026s=e0826571e784a49618fef3e33a90cb43\"},\"sameAs\":[\"https://github.com/astronomer\",\"https://www.linkedin.com/company/astronomer/\",\"https://x.com/astronomerio\",\"https://www.youtube.com/c/astronomer\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.astronomer.io/docs#website\",\"name\":\"Astronomer\",\"url\":\"https://www.astronomer.io/docs\",\"publisher\":{\"@id\":\"https://www.astronomer.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token#webpage\",\"url\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token\",\"name\":\"Delete an API token\",\"description\":\"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it's deleted, an API token cannot be recovered.\",\"dateModified\":\"2026-11-05T16:29:05.851Z\",\"isPartOf\":{\"@id\":\"https://www.astronomer.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Astro API\",\"item\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/labs-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/agent-token/create-an-agent-api-token\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API Token\",\"item\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/create-an-api-token\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Delete an API token\",\"item\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token#apireference\",\"headline\":\"Delete an API token\",\"name\":\"Delete an API token\",\"description\":\"Delete an API token. When you delete an API token, make sure that no existing automation workflows are using it. After it's deleted, an API token cannot be recovered.\",\"url\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token\",\"mainEntityOfPage\":{\"@id\":\"https://www.astronomer.io/docs/astro/api/v-1-labs/api-token/delete-an-api-token#webpage\"},\"image\":\"https://www.astronomer.io/docs/images/astronomer-card.png\",\"dateModified\":\"2026-11-05T16:29:05.851Z\",\"publisher\":{\"@id\":\"https://www.astronomer.io/#organization\"},\"isPartOf\":{\"@id\":\"https://www.astronomer.io/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/astro/api/v-1-labs/api-token/delete-an-api-token.md","siteName":"Astronomer","nav":{"global":null,"products":[{"product":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"product":"Astro","icon":"rocket","description":"Fully managed Apache Airflow from experts.","pages":[{"title":"Astro","href":"/astro/overview"}]},{"product":"Astro Private Cloud","icon":"clouds","description":"A better way to manage Apache Airflow yourself.","versions":[{"version":"v2.x"},{"version":"v1.x"},{"version":"v0.37"},{"version":"v0.36"},{"version":"v0.34"},{"version":"Archive"}],"pages":[{"title":"Astro Private Cloud","href":"/astro-private-cloud/v-2-x/astro-private-cloud-overview"}]},{"product":"Astro Runtime","icon":"layer-group","description":"The distribution of Apache Airflow that powers Astro.","pages":[{"title":"Astro Runtime","href":"/runtime/overview"}]},{"product":"Astro CLI","icon":"terminal","description":"Manage and configure your Astro projects.","versions":[{"version":"v1.47"},{"version":"v1.46"},{"version":"v1.45"},{"version":"v1.44"},{"version":"v1.43"},{"version":"v1.42"},{"version":"v1.41"},{"version":"v1.40"},{"version":"v1.39"},{"version":"v1.38"}],"pages":[{"title":"Astro CLI","href":"/cli/v1.47/overview"}]},{"product":"Astro API","icon":"gear-code","description":"Programmatic control of Astro resources and Airflow operations.","versions":[{"version":"v1","default":true,"pages":[{"title":"v1","href":"/astro/api/v-1/api-token/delete-an-api-token"}]},{"version":"v1labs","groups":[{"group":"Astro API","pages":[{"title":"Astro v1 Labs API overview","sidebarTitle":"Overview","href":"/astro/api/v-1-labs/labs-overview"},{"group":"API Reference","expanded":true,"pages":[{"group":"Agent Token","pages":[{"title":"Create an Agent API token","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens","href":"/astro/api/v-1-labs/agent-token/create-an-agent-api-token"},{"title":"Delete an Agent API Token","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens/{agentTokenId}","href":"/astro/api/v-1-labs/agent-token/delete-an-agent-api-token"},{"title":"Get an Agent API Token","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens/{agentTokenId}","href":"/astro/api/v-1-labs/agent-token/get-an-agent-api-token"},{"title":"List Agent API Tokens","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments/{deploymentId}/agent-tokens","href":"/astro/api/v-1-labs/agent-token/list-agent-api-tokens"}]},{"group":"Alerts","pages":[{"title":"Bulk create alerts","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/create-alerts","href":"/astro/api/v-1-labs/alerts/bulk-create-alerts"},{"title":"Bulk delete alerts","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/delete-alerts","href":"/astro/api/v-1-labs/alerts/bulk-delete-alerts"},{"title":"Bulk update alerts","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/update-alerts","href":"/astro/api/v-1-labs/alerts/bulk-update-alerts"},{"title":"List alerts","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/alerts","href":"/astro/api/v-1-labs/alerts/list-alerts"}]},{"group":"Allowed IP Address Range","pages":[{"title":"Bulk create allowed IP address ranges","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/allowed-ip-address-ranges","href":"/astro/api/v-1-labs/allowed-ip-address-range/bulk-create-allowed-ip-address-ranges"},{"title":"Bulk delete allowed IP address ranges","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/allowed-ip-address-ranges","href":"/astro/api/v-1-labs/allowed-ip-address-range/bulk-delete-allowed-ip-address-ranges"},{"title":"Delete an allowed IP address range","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/allowed-ip-address-ranges/{allowedIpAddressRangeId}","href":"/astro/api/v-1-labs/allowed-ip-address-range/delete-an-allowed-ip-address-range"},{"title":"List allowed IP address ranges","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/allowed-ip-address-ranges","href":"/astro/api/v-1-labs/allowed-ip-address-range/list-allowed-ip-address-ranges"}]},{"group":"API Token","pages":[{"title":"Create an API token","description":"Create an API token. An API token is an alphanumeric token that grants programmatic access to Astro for automated workflows. An API token can be scoped to an Organization or a Workspace.","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/tokens","href":"/astro/api/v-1-labs/api-token/create-an-api-token"},{"title":"Delete an API token","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/tokens/{tokenId}","href":"/astro/api/v-1-labs/api-token/delete-an-api-token"},{"title":"Get an API token","description":"Retrieve information about a specific API token.","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/tokens/{tokenId}","href":"/astro/api/v-1-labs/api-token/get-an-api-token"},{"title":"List API tokens","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/tokens","href":"/astro/api/v-1-labs/api-token/list-api-tokens"},{"title":"Rotate API token","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/tokens/{tokenId}/rotate","href":"/astro/api/v-1-labs/api-token/rotate-api-token"},{"title":"Update API token roles","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/tokens/{tokenId}/roles","href":"/astro/api/v-1-labs/api-token/update-api-token-roles"},{"title":"Update an API token","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/tokens/{tokenId}","href":"/astro/api/v-1-labs/api-token/update-an-api-token"}]},{"group":"Audit Log","pages":[{"title":"Get Organization Audit Logs","openapi":"astro/api/v-1-labs/openapi.yaml GET /organizations/{organizationId}/audit-logs","href":"/astro/api/v-1-labs/audit-logs"}]},{"group":"Authorization","pages":[{"title":"List authorization permission groups","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /authorization/permission-groups","href":"/astro/api/v-1-labs/authorization/list-authorization-permission-groups"}]},{"group":"Billing","pages":[{"title":"List daily usage","openapi":"astro/api/v-1-labs/openapi.yaml GET /organizations/{organizationId}/billing/daily-usage","href":"/astro/api/v-1-labs/daily-usage"}]},{"group":"Cluster","pages":[{"title":"Create a cluster","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/clusters","href":"/astro/api/v-1-labs/cluster/create-a-cluster"},{"title":"Delete a cluster","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/clusters/{clusterId}","href":"/astro/api/v-1-labs/cluster/delete-a-cluster"},{"title":"Get a cluster","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/clusters/{clusterId}","href":"/astro/api/v-1-labs/cluster/get-a-cluster"},{"title":"List clusters","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/clusters","href":"/astro/api/v-1-labs/cluster/list-clusters"},{"title":"Update a cluster","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/clusters/{clusterId}","href":"/astro/api/v-1-labs/cluster/update-a-cluster"}]},{"group":"Deploy","pages":[{"title":"Create a Deploy","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/deploys","href":"/astro/api/v-1-labs/deploy/create-a-deploy"},{"title":"Deploy rollback of a deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/deploys/{deployId}/rollback","href":"/astro/api/v-1-labs/deploy/deploy-rollback-of-a-deployment"},{"title":"Finalize a deploy","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/deploys/{deployId}/finalize","href":"/astro/api/v-1-labs/deploy/finalize-a-deploy"},{"title":"Get a deploy for a deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments/{deploymentId}/deploys/{deployId}","href":"/astro/api/v-1-labs/deploy/get-a-deploy-for-a-deployment"},{"title":"List deploys for a deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments/{deploymentId}/deploys","href":"/astro/api/v-1-labs/deploy/list-deploys-for-a-deployment"},{"title":"Update a Deploy","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/deploys/{deployId}","href":"/astro/api/v-1-labs/deploy/update-a-deploy"}]},{"group":"Deployment","pages":[{"title":"Trigger an action on a remote agent","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/agents/{agentId}/action","href":"/astro/api/v-1-labs/deployment/trigger-an-action-on-a-remote-agent"},{"title":"Configure a hibernation override for a deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}/hibernation-override","href":"/astro/api/v-1-labs/deployment/configure-a-hibernation-override-for-a-deployment"},{"title":"Create a Deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments","href":"/astro/api/v-1-labs/deployment/create-a-deployment"},{"title":"Delete a Deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/deployments/{deploymentId}","href":"/astro/api/v-1-labs/deployment/delete-a-deployment"},{"title":"Delete a hibernation override for a deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/deployments/{deploymentId}/hibernation-override","href":"/astro/api/v-1-labs/deployment/delete-a-hibernation-override-for-a-deployment"},{"title":"Get Deployment logs","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments/{deploymentId}/logs","href":"/astro/api/v-1-labs/deployment/get-deployment-logs"},{"title":"Get a Deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments/{deploymentId}","href":"/astro/api/v-1-labs/deployment/get-a-deployment"},{"title":"List Deployments","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployments","href":"/astro/api/v-1-labs/deployment/list-deployments"},{"title":"Update a Deployment","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/deployments/{deploymentId}","href":"/astro/api/v-1-labs/deployment/update-a-deployment"}]},{"group":"Environment","pages":[{"title":"Create a new environment object","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/environment-objects","href":"/astro/api/v-1-labs/environment/create-a-new-environment-object"},{"title":"Delete an environment object","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/environment-objects/{environmentObjectId}","href":"/astro/api/v-1-labs/environment/delete-an-environment-object"},{"title":"Exclude linking an environment object","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/environment-objects/{environmentObjectId}/exclude-linking","href":"/astro/api/v-1-labs/environment/exclude-linking-an-environment-object"},{"title":"Get environment object","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/environment-objects/{environmentObjectId}","href":"/astro/api/v-1-labs/environment/get-environment-object"},{"title":"List environment objects","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/environment-objects","href":"/astro/api/v-1-labs/environment/list-environment-objects"},{"title":"Update an environment object","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/environment-objects/{environmentObjectId}","href":"/astro/api/v-1-labs/environment/update-an-environment-object"}]},{"group":"Example","pages":[{"title":"Get an Example","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /examples/{exampleId}","href":"/astro/api/v-1-labs/example/get-an-example"}]},{"group":"Invite","pages":[{"title":"Create a user invitation","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/invites","href":"/astro/api/v-1-labs/invite/create-a-user-invitation"},{"title":"Delete a user invite","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/invites/{inviteId}","href":"/astro/api/v-1-labs/invite/delete-a-user-invite"}]},{"group":"Notification Channels","pages":[{"title":"Bulk create notification channels","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/notification-channels","href":"/astro/api/v-1-labs/notification-channels/bulk-create-notification-channels"},{"title":"Bulk delete notification channels","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/notification-channels","href":"/astro/api/v-1-labs/notification-channels/bulk-delete-notification-channels"}]},{"group":"Observability","pages":[{"title":"Get the status of a Dag-failure diagnosis run","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/observability/deployments/{deploymentId}/dag-failure-diagnosis/runs/{diagnosisRunId}/status","href":"/astro/api/v-1-labs/observability/get-the-status-of-a-dag-failure-diagnosis-run"},{"title":"Start a Dag-failure diagnosis run","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/observability/deployments/{deploymentId}/dag-failure-diagnosis/runs","href":"/astro/api/v-1-labs/observability/start-a-dag-failure-diagnosis-run"},{"title":"Stream events from a Dag-failure diagnosis run","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/observability/deployments/{deploymentId}/dag-failure-diagnosis/runs/{diagnosisRunId}/events","href":"/astro/api/v-1-labs/observability/stream-events-from-a-dag-failure-diagnosis-run"}]},{"group":"Options","pages":[{"title":"Get Deployment options","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/deployment-options","href":"/astro/api/v-1-labs/options/get-deployment-options"},{"title":"Get cluster options","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/cluster-options","href":"/astro/api/v-1-labs/options/get-cluster-options"}]},{"group":"Organization","pages":[{"title":"Get an Organization","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}","href":"/astro/api/v-1-labs/organization/get-an-organization"},{"title":"List Organizations","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations","href":"/astro/api/v-1-labs/organization/list-organizations"},{"title":"Update an Organization","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}","href":"/astro/api/v-1-labs/organization/update-an-organization"}]},{"group":"Role","pages":[{"title":"Create a custom role","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/roles","href":"/astro/api/v-1-labs/role/create-a-custom-role"},{"title":"Delete a custom role","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/roles/{customRoleId}","href":"/astro/api/v-1-labs/role/delete-a-custom-role"},{"title":"Get a custom role","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/roles/{roleId}","href":"/astro/api/v-1-labs/role/get-a-custom-role"},{"title":"Get role templates","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/role-templates","href":"/astro/api/v-1-labs/role/get-role-templates"},{"title":"List roles","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/roles","href":"/astro/api/v-1-labs/role/list-roles"},{"title":"Update custom role","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/roles/{customRoleId}","href":"/astro/api/v-1-labs/role/update-custom-role"}]},{"group":"Team","pages":[{"title":"Add members to a team","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/teams/{teamId}/members","href":"/astro/api/v-1-labs/team/add-members-to-a-team"},{"title":"Create a Team","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/teams","href":"/astro/api/v-1-labs/team/create-a-team"},{"title":"Delete a Team","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/teams/{teamId}","href":"/astro/api/v-1-labs/team/delete-a-team"},{"title":"Get a Team","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/teams/{teamId}","href":"/astro/api/v-1-labs/team/get-a-team"},{"title":"List Team members","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/teams/{teamId}/members","href":"/astro/api/v-1-labs/team/list-team-members"},{"title":"List Teams","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/teams","href":"/astro/api/v-1-labs/team/list-teams"},{"title":"Remove Team member","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/teams/{teamId}/members/{memberId}","href":"/astro/api/v-1-labs/team/remove-team-member"},{"title":"Update Team roles","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/teams/{teamId}/roles","href":"/astro/api/v-1-labs/team/update-team-roles"},{"title":"Update a Team","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/teams/{teamId}","href":"/astro/api/v-1-labs/team/update-a-team"}]},{"group":"Usages","pages":[{"title":"List deployment usage","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/usages/aggregate/deployment-usage","href":"/astro/api/v-1-labs/usages/list-deployment-usage"},{"title":"List workspace usage","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/usages/aggregate/workspace-usage","href":"/astro/api/v-1-labs/usages/list-workspace-usage"}]},{"group":"User","pages":[{"title":"Get current user","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /users/self","href":"/astro/api/v-1-labs/user/get-current-user"},{"title":"Get user information","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/users/{userId}","href":"/astro/api/v-1-labs/user/get-user-information"},{"title":"List teams for a user","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/users/{userId}/teams","href":"/astro/api/v-1-labs/user/list-teams-for-a-user"},{"title":"List users in an Organization","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/users","href":"/astro/api/v-1-labs/user/list-users-in-an-organization"},{"title":"Update a user's roles","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/users/{userId}/roles","href":"/astro/api/v-1-labs/user/update-a-users-roles"}]},{"group":"Workspace","pages":[{"title":"Create Workspace","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/workspaces","href":"/astro/api/v-1-labs/workspace/create-workspace"},{"title":"Delete Workspace","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml delete /organizations/{organizationId}/workspaces/{workspaceId}","href":"/astro/api/v-1-labs/workspace/delete-workspace"},{"title":"Get Workspace","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/workspaces/{workspaceId}","href":"/astro/api/v-1-labs/workspace/get-workspace"},{"title":"List Workspaces","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml get /organizations/{organizationId}/workspaces","href":"/astro/api/v-1-labs/workspace/list-workspaces"},{"title":"Update Workspace","deprecated":null,"version":null,"openapi":"/astro/api/v-1-labs/openapi.yaml post /organizations/{organizationId}/workspaces/{workspaceId}","href":"/astro/api/v-1-labs/workspace/update-workspace"}]}]},{"group":"Changelog","root":{"title":"Changelog","href":"/astro/api/v-1-labs/changelog"},"expanded":true,"pages":[]}]}]},{"version":"v1beta1","tag":"deprecated","pages":[{"title":"v1beta1","href":"/astro/api/v-1-beta-1/v1beta1-deprecation-notice"}]}]},{"product":"Airflow","icon":"books","description":"Apache Airflow tutorials, concepts, and guides.","versions":[{"version":"Airflow 3"},{"version":"Airflow 2"}],"pages":[{"title":"Airflow","href":"/airflow/overview"}]}]},"basePath":"","title":"Delete an API token - Astronomer","buildId":"dpl_AHzSCQPRq6mP9FZXEa5AbDZTffie","deploymentId":"dpl_AHzSCQPRq6mP9FZXEa5AbDZTffie","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C0w-WQJ2.js","utils-C5d2irbo.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CJr73d5s.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B9xqpnhe.js","snippetPresets-C6Ms_vrL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DLEGoKJA.js","ApiExamples-C4vTqKLT.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dvb1kse5.js","shallow-BIuit-p4.js","getApiPlaygroundDisplay-B4qYxU7P.js","CodeSnippet-DbbDcn2_.js","CodeSnippets-P3qMtezt.js","getPastedJson-rlg7qTiW.js","icon-ChyN3MIj.js","MethodPill-BDbONhDa.js","DuplicateIcon-CJlrtq8z.js","createIcon-BDOguHRU.js","DynamicMarkdown-mBxoveKr.js","SectionHeading-CAMJotVi.js","axios-vUo_bRtp.js","Markdown-BNXMbgxP.js","clsx-4BR7cppx.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CAwBMBkB.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CJogWhER.js"]}