Revoking is not just cancelling an email. Because an invitation provisions the person the moment it is sent, they may already be carrying groups and grants, so revoking takes all of it back.
Revoking removes every grant on all three permission axes, and every group membership. If the invitation was the only reason that person existed in Nekt, the account is deleted too. This cannot be undone: re-inviting them starts from nothing.
The URL segment is named token, but the value is the invitation’s id, the field you get from List Invitations. Passing the invitation token instead returns 404.
These are different, and the difference is the access:
Link works
Groups and grants
Appears in the member list
Expired
No
Kept
Yes, as pending
Revoked
No
Removed
No
An expired invitation is a pause: resend it and the person picks up exactly where you left them. A revoked one is a decision. Revoke when somebody is not joining; let one lapse when they are simply slow.
from datetime import datetime, timedelta, timezoneimport requestsAPI_KEY = "YOUR_API_KEY"BASE_URL = "https://api.nekt.ai"GIVE_UP_AFTER_DAYS = 90headers = {"x-api-key": API_KEY, "Content-Type": "application/json"}cutoff = datetime.now(timezone.utc) - timedelta(days=GIVE_UP_AFTER_DAYS)for invitation in requests.get(f"{BASE_URL}/api/v1/invitations/", headers=headers).json(): sent_at = datetime.fromisoformat(invitation["sent_at"].replace("Z", "+00:00")) if sent_at < cutoff: # Takes back their groups and grants as well as the invitation. requests.delete(f"{BASE_URL}/api/v1/invitations/{invitation['id']}/", headers=headers)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nekt","colors":{"primary":"#097860","light":"#FAF9F7","dark":"#222427"},"logo":{"light":"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=cba8701f886607d770a7510c525d81b7","dark":"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=49a92921377751229bc12ae4b61b1c6a"},"favicon":"https://mintcdn.com/nekt/DJnjRR_rS7CNJfYV/favicon.png?fit=max\u0026auto=format\u0026n=DJnjRR_rS7CNJfYV\u0026q=85\u0026s=4df461957abd65599739f5ec1c8c84cf","api":{"openapi":{"source":"https://api.nekt.ai/api/schema/"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.nekt.ai/"}},"background":{"color":{"light":"#FAF9F7","dark":"#222427"}},"navbar":{"primary":{"type":"button","label":"Platform","href":"https://app.nekt.ai"}},"footer":{"socials":{"website":"https://nekt.com","linkedin":"https://www.linkedin.com/company/nektai","youtube":"https://www.youtube.com/@nektdata","github":"https://github.com/nektcom"}},"integrations":{"ga4":{"measurementId":"G-8YEZ2TKV3C"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nekt","hasAudioNarration":false,"actualSubdomain":"nekt","customDomains":["docs.nekt.com"],"gitSource":{"type":"github","owner":"nektcom","repo":"nekt-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af27d521b6411f576d9797e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Documentation","count":525},{"language":"default","tag":"Connectors","count":460},{"language":"default","tag":"Context","count":417},{"language":"default","tag":"Sources","count":408},{"language":"default","tag":"Platform API","count":141},{"language":"default","tag":"Activate","count":78},{"language":"default","tag":"Destinations","count":61},{"language":"default","tag":"Permissions","count":34},{"language":"default","tag":"Catalog","count":24},{"language":"default","tag":"Semantic Layer","count":18}]},"assistantConfig":{},"basePath":"","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},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area a{text-underline-offset:2px;transition:opacity 0.15s ease}#content-area a:hover{opacity:0.7}#content-area a.card{text-decoration:none}a[href*=\"utm_campaign=poweredBy\"]{display:none}"}],"page":{"pagePath":"platform-api/invitations/revoke","slug":"/platform-api/invitations/revoke","pageMetadata":{"title":"Revoke an Invitation","sidebarTitle":"Revoke an Invitation","description":"Cancel an invitation and take back everything it granted.","openapi":"DELETE /api/v1/invitations/{token}/","href":"/platform-api/invitations/revoke"},"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: \"Cancel an invitation and take back everything it granted.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Revoking is not just cancelling an email. Because an invitation provisions the person the moment it is sent, they may already be carrying groups and grants, so revoking takes all of it back.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Revoking removes `,_jsx(_components.strong,{children:`every grant on all three permission axes`}),`, and every group membership. If the invitation was the only reason that person existed in Nekt, the account is deleted too. This cannot be undone: re-inviting them starts from nothing.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`the-path-parameter-is-the-id`,children:`The path parameter is the id`}),`\n`,_jsxs(_components.p,{children:[`The URL segment is named `,_jsx(_components.code,{children:`token`}),`, but the value is the invitation’s `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`id`})}),`, the field you get from `,_jsx(_components.a,{href:`/platform-api/invitations/list`,children:`List Invitations`}),`. Passing the invitation token instead returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.nekt.ai/api/v1/invitations/c1f0a9d4-5b62-4e18-9a73-2d8e4f6b0c51/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`200`}),`, with a confirmation body.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The invitation has been revoked.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`revoke-versus-letting-it-lapse`,children:`Revoke versus letting it lapse`}),`\n`,_jsx(_components.p,{children:`These are different, and the difference is the access:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Link works`}),_jsx(_components.th,{children:`Groups and grants`}),_jsx(_components.th,{children:`Appears in the member list`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Expired`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Kept`}),_jsx(_components.td,{children:`Yes, as pending`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Revoked`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Removed`}),_jsx(_components.td,{children:`No`})]})]})]}),`\n`,_jsx(_components.p,{children:`An expired invitation is a pause: resend it and the person picks up exactly where you left them. A revoked one is a decision. Revoke when somebody is not joining; let one lapse when they are simply slow.`}),`\n`,_jsx(Heading,{level:`2`,id:`clean-up-invitations-nobody-answered`,children:`Clean up invitations nobody answered`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` datetime `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` datetime, timedelta, timezone`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.nekt.ai\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`GIVE_UP_AFTER_DAYS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 90`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cutoff `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` datetime.now(timezone.utc) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` timedelta(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`days`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`GIVE_UP_AFTER_DAYS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` invitation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/v1/invitations/\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers).json():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sent_at `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` datetime.fromisoformat(invitation[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sent_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].replace(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` sent_at `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cutoff:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Takes back their groups and grants as well as the invitation.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.delete(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/v1/invitations/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`invitation[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`The invitation has already been accepted. Accepted people are members now; remove them from `,_jsx(_components.a,{href:`/organizations/members`,children:`Members`}),` instead.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Your API key was created by a Member. Revoking requires an Owner’s or Admin’s key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[`No invitation with that `,_jsx(_components.strong,{children:`id`}),` in your organization; check you are not passing the token.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/platform-api/invitations/overview`,children:`Onboarding flow`}),`: what an invitation carries.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/platform-api/invitations/list`,children:`List Invitations`}),`: where the `,_jsx(_components.code,{children:`id`}),` comes from.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Revoke an Invitation","sidebarTitle":"Revoke an Invitation","description":"Cancel an invitation and take back everything it granted.","openapi":"DELETE /api/v1/invitations/{token}/","href":"/platform-api/invitations/revoke"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The path parameter is the id","slug":"the-path-parameter-is-the-id","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Revoke versus letting it lapse","slug":"revoke-versus-letting-it-lapse","depth":2,"children":[]},{"title":"Clean up invitations nobody answered","slug":"clean-up-invitations-nobody-answered","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"v1_invitations_destroy","parameters":["c48fb42a-ae99-42f9-9c28-76092bf119ed"],"tags":["v1"],"security":["5863ea2d-a94f-4b64-825d-fb5517900029"],"responses":{"200":"6368c0ad-6fb9-4861-8d68-1f3f3a1b6a05"},"method":"delete","type":"path","servers":["0dbc333a-0695-47e3-a8b4-6dd02d0510fe"],"path":"/api/v1/invitations/{token}/","baseUrlOptions":["https://api.nekt.ai"],"title":"","description":"Cancel an invitation and take back everything it granted.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c48fb42a-ae99-42f9-9c28-76092bf119ed":{"in":"path","name":"token","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The invitation's `id`. Despite the name, this is not the invitation token.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The invitation's `id`. Despite the name, this is not the invitation token.","required":true}},"responses":{"6368c0ad-6fb9-4861-8d68-1f3f3a1b6a05":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":"\u003cstring>"}}},"exampleType":"generated"}},"description":"","exampleType":"generated"}},"security":{"5863ea2d-a94f-4b64-825d-fb5517900029":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication. Format: 'x-api-key: api_key'","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"0dbc333a-0695-47e3-a8b4-6dd02d0510fe":{"url":"https://api.nekt.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication. Format: 'x-api-key: api_key'","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API Key authentication. Format: 'x-api-key: api_key'","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://api.nekt.ai/api/schema/"},"subdomain":"nekt","siteName":"Nekt","title":"Revoke an Invitation - Nekt","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T21:07:29.793Z","originalFileLocation":"platform-api/invitations/revoke.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=\"Cancel an invitation and take back everything it granted.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nekt\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_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=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Revoke an Invitation - Nekt\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cancel an invitation and take back everything it granted.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nekt\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nekt.com/platform-api/invitations/revoke\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nekt.mintlify.site/_mintlify/api/og/v2?division=Invitations\u0026amp;title=Revoke+an+Invitation\u0026amp;description=Cancel+an+invitation+and+take+back+everything+it+granted.\u0026amp;theme=ab0eecb27443f99b68604474\u0026amp;signature=1d67a09a42c5c299fb066bd661bb982b7412f92116feadb9671eecfcf344d9b2\">\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=\"Revoke an Invitation - Nekt\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cancel an invitation and take back everything it granted.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nekt.mintlify.site/_mintlify/api/og/v2?division=Invitations\u0026amp;title=Revoke+an+Invitation\u0026amp;description=Cancel+an+invitation+and+take+back+everything+it+granted.\u0026amp;theme=ab0eecb27443f99b68604474\u0026amp;signature=1d67a09a42c5c299fb066bd661bb982b7412f92116feadb9671eecfcf344d9b2\">\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=\"/mintlify-assets/_mintlify/favicons/nekt/vtuzSdYqWUIGYPQe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nekt\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#097860\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nekt.com/platform-api/invitations/revoke\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform-api/invitations/revoke.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nekt.com/#organization\",\"name\":\"Nekt\",\"url\":\"https://docs.nekt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nekt/fAFtC-RZLnUKCv7c/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=fAFtC-RZLnUKCv7c\u0026q=85\u0026s=cba8701f886607d770a7510c525d81b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nekt.com#website\",\"name\":\"Nekt\",\"url\":\"https://docs.nekt.com\",\"publisher\":{\"@id\":\"https://docs.nekt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nekt.com/platform-api/invitations/revoke#webpage\",\"url\":\"https://docs.nekt.com/platform-api/invitations/revoke\",\"name\":\"Revoke an Invitation\",\"description\":\"Cancel an invitation and take back everything it granted.\",\"dateModified\":\"2026-10-26T21:07:29.793Z\",\"isPartOf\":{\"@id\":\"https://docs.nekt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nekt.com/platform-api/invitations/revoke#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nekt.com/platform-api/invitations/revoke#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Invitations\",\"item\":\"https://docs.nekt.com/platform-api/invitations/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Revoke an Invitation\",\"item\":\"https://docs.nekt.com/platform-api/invitations/revoke\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nekt.com/platform-api/invitations/revoke#apireference\",\"headline\":\"Revoke an Invitation\",\"name\":\"Revoke an Invitation\",\"description\":\"Cancel an invitation and take back everything it granted.\",\"url\":\"https://docs.nekt.com/platform-api/invitations/revoke\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nekt.com/platform-api/invitations/revoke#webpage\"},\"dateModified\":\"2026-10-26T21:07:29.793Z\",\"publisher\":{\"@id\":\"https://docs.nekt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nekt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nekt\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nekt","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/what-is-nekt"}]},{"anchor":"Platform API","icon":"square-terminal","groups":[{"group":"Platform API","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/platform-api/introduction"},{"title":"Expanding Responses","sidebarTitle":"Expanding Responses","href":"/platform-api/expanding-responses"}]},{"group":"Activities","pages":[{"title":"Activity object","href":"/platform-api/activities/activity"},{"title":"List Activities","openapi":"GET /api/v1/activities/","href":"/platform-api/activities/list"}]},{"group":"Connectors","pages":[{"title":"Connector object","href":"/platform-api/connectors/connector"},{"title":"Connector version object","href":"/platform-api/connectors/version"},{"title":"List Source Connectors","openapi":"GET /api/v1/sources/connectors/","href":"/platform-api/connectors/source"},{"title":"List Destination Connectors","openapi":"GET /api/v1/destinations/connectors/","href":"/platform-api/connectors/destination"},{"title":"List MCP Connectors","openapi":"GET /api/v1/live-connectors/","href":"/platform-api/connectors/mcp"}]},{"group":"Sources","pages":[{"title":"Source object","href":"/platform-api/sources/source"},{"title":"List Sources","openapi":"GET /api/v1/sources/","href":"/platform-api/sources/list"},{"title":"Get Source","openapi":"GET /api/v1/sources/{slug}/","href":"/platform-api/sources/details"},{"title":"Create Source","sidebarTitle":"Create Source","openapi":"POST /api/v1/sources/","href":"/platform-api/sources/create"},{"title":"Configure a source with a setup link","sidebarTitle":"Setup link \u0026 callback","href":"/platform-api/sources/setup-link"},{"title":"Create Setup Token","openapi":"POST /api/v1/sources/{source_slug}/setup-tokens/","href":"/platform-api/sources/setup-tokens/create"},{"title":"List Setup Tokens","openapi":"GET /api/v1/sources/{source_slug}/setup-tokens/","href":"/platform-api/sources/setup-tokens/list"},{"title":"Delete Setup Token","openapi":"DELETE /api/v1/sources/{source_slug}/setup-tokens/{id}/","href":"/platform-api/sources/setup-tokens/delete"},{"title":"Validate Connector","openapi":"POST /api/v1/sources/{slug}/revalidate/","href":"/platform-api/sources/revalidate"},{"title":"Update Source","openapi":"PATCH /api/v1/sources/{slug}/","href":"/platform-api/sources/update"},{"title":"Delete Source","sidebarTitle":"Delete Source","openapi":"DELETE /api/v1/sources/{slug}/","href":"/platform-api/sources/delete"},{"title":"Bulk Delete Sources","sidebarTitle":"Bulk Delete Sources","openapi":"POST /api/v1/sources/bulk-delete/","href":"/platform-api/sources/bulk-delete"},{"title":"Trigger Source","openapi":"POST /api/v1/sources/{slug}/trigger/","href":"/platform-api/sources/trigger"},{"title":"List Source Triggers","openapi":"GET /api/v1/sources/{source_slug}/triggers/","href":"/platform-api/sources/triggers/list"},{"title":"Get Source Trigger","openapi":"GET /api/v1/sources/{source_slug}/triggers/{id}/","href":"/platform-api/sources/triggers/details"}]},{"group":"MCP connections","pages":[{"title":"MCP Connection object","href":"/platform-api/mcp-connections/mcp-connection"},{"title":"List MCP Connections","openapi":"GET /api/v1/live-connections/","href":"/platform-api/mcp-connections/list"},{"title":"MCP Connection Details","openapi":"GET /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/details"},{"title":"Create MCP Connection","openapi":"POST /api/v1/live-connections/","href":"/platform-api/mcp-connections/create"},{"title":"Connect an MCP with a setup link","sidebarTitle":"Setup link \u0026 callback","href":"/platform-api/mcp-connections/setup-link"},{"title":"Create Setup Token","openapi":"POST /api/v1/live-connections/{live_connection_slug}/setup-tokens/","href":"/platform-api/mcp-connections/setup-tokens/create"},{"title":"List Setup Tokens","openapi":"GET /api/v1/live-connections/{live_connection_slug}/setup-tokens/","href":"/platform-api/mcp-connections/setup-tokens/list"},{"title":"Delete Setup Token","openapi":"DELETE /api/v1/live-connections/{live_connection_slug}/setup-tokens/{id}/","href":"/platform-api/mcp-connections/setup-tokens/delete"},{"title":"List Connection Tools","openapi":"GET /api/v1/live-connections/{slug}/tools/","href":"/platform-api/mcp-connections/tools"},{"title":"Update Connection Tools","openapi":"PATCH /api/v1/live-connections/{slug}/tools/","href":"/platform-api/mcp-connections/update-tools"},{"title":"Update MCP Connection","openapi":"PATCH /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/update"},{"title":"Archive MCP Connection","openapi":"POST /api/v1/live-connections/{slug}/archive/","href":"/platform-api/mcp-connections/archive"},{"title":"Unarchive MCP Connection","openapi":"POST /api/v1/live-connections/{slug}/unarchive/","href":"/platform-api/mcp-connections/unarchive"},{"title":"Delete MCP Connection","openapi":"DELETE /api/v1/live-connections/{slug}/","href":"/platform-api/mcp-connections/delete"}]},{"group":"Connector validations","pages":[{"title":"Get Connector Validation","openapi":"GET /api/v1/connector-validations/{id}/","href":"/platform-api/connector-validations/details"},{"title":"Get Connector Validation Logs","openapi":"GET /api/v1/connector-validations/{id}/logs/","href":"/platform-api/connector-validations/logs"}]},{"group":"Transformations","pages":[{"title":"Transformation object","href":"/platform-api/transformations/transformation"},{"title":"Get Transformations","openapi":"GET /api/v1/transformations/","href":"/platform-api/transformations/list"},{"title":"Get Transformation","openapi":"GET /api/v1/transformations/{slug}/","href":"/platform-api/transformations/details"},{"title":"Update Transformation","openapi":"PATCH /api/v1/transformations/{slug}/","href":"/platform-api/transformations/update"},{"title":"Delete Transformation","sidebarTitle":"Delete Transformation","openapi":"DELETE /api/v1/transformations/{slug}/","href":"/platform-api/transformations/delete"},{"title":"Bulk Delete Transformations","sidebarTitle":"Bulk Delete Transformations","openapi":"POST /api/v1/transformations/bulk-delete/","href":"/platform-api/transformations/bulk-delete"},{"title":"Trigger Transformation","openapi":"POST /api/v1/transformations/{slug}/trigger/","href":"/platform-api/transformations/trigger"}]},{"group":"Destinations","pages":[{"title":"Destination object","href":"/platform-api/destinations/destination"},{"title":"List Destinations","openapi":"GET /api/v1/destinations/","href":"/platform-api/destinations/list"},{"title":"Get Destination","openapi":"GET /api/v1/destinations/{slug}/","href":"/platform-api/destinations/details"},{"title":"Update Destination","openapi":"PATCH /api/v1/destinations/{slug}/","href":"/platform-api/destinations/update"},{"title":"Delete Destination","sidebarTitle":"Delete Destination","openapi":"DELETE /api/v1/destinations/{slug}/","href":"/platform-api/destinations/delete"},{"title":"Bulk Delete Destinations","sidebarTitle":"Bulk Delete Destinations","openapi":"POST /api/v1/destinations/bulk-delete/","href":"/platform-api/destinations/bulk-delete"},{"title":"Trigger Destination","openapi":"POST /api/v1/destinations/{slug}/trigger/","href":"/platform-api/destinations/trigger"},{"title":"List Destination Triggers","openapi":"GET /api/v1/destinations/{destination_slug}/triggers/","href":"/platform-api/destinations/triggers/list"},{"title":"Get Destination Trigger","openapi":"GET /api/v1/destinations/{destination_slug}/triggers/{id}/","href":"/platform-api/destinations/triggers/details"}]},{"group":"Runs","pages":[{"title":"Run object","href":"/platform-api/runs/run"},{"title":"Get Runs","openapi":"GET /api/v1/runs/","href":"/platform-api/runs/list"},{"title":"Get Run","openapi":"GET /api/v1/runs/{id}/","href":"/platform-api/runs/details"},{"title":"Get Run Logs","openapi":"GET /api/v1/runs/{id}/logs/","href":"/platform-api/runs/logs"},{"title":"Cancel Run","openapi":"POST /api/v1/runs/{id}/cancel/","href":"/platform-api/runs/cancel"}]},{"group":"Catalog","pages":[{"title":"Layer object","href":"/platform-api/catalog/layer"},{"title":"List Layers","openapi":"GET /api/v1/layers/","href":"/platform-api/catalog/list-layers"},{"title":"Update Layer","openapi":"PATCH /api/v1/layers/{slug}/","href":"/platform-api/catalog/update-layer"},{"title":"Table object","href":"/platform-api/catalog/table"},{"title":"Update Table","openapi":"PATCH /api/v1/tables/{id}/","href":"/platform-api/catalog/update-table"},{"title":"Update Field","openapi":"PATCH /api/v1/tables/{table_pk}/fields/{name}/","href":"/platform-api/catalog/update-field"},{"title":"Volume object","href":"/platform-api/catalog/volume"},{"title":"Folder object","href":"/platform-api/catalog/folder"}]},{"group":"Semantic Layer","pages":[{"title":"Semantic Layer document object","sidebarTitle":"Document object","href":"/platform-api/semantic-layer/document"},{"title":"List Semantic Layer Documents","sidebarTitle":"List documents","openapi":"GET /api/v1/semantic-layer/documents/","href":"/platform-api/semantic-layer/list"},{"title":"Retrieve Semantic Layer Document","sidebarTitle":"Retrieve document","openapi":"GET /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/retrieve"},{"title":"Create Semantic Layer Document","sidebarTitle":"Create document","openapi":"POST /api/v1/semantic-layer/documents/","href":"/platform-api/semantic-layer/create"},{"title":"Update Semantic Layer Document","sidebarTitle":"Update document","openapi":"PATCH /api/v1/semantic-layer/documents/{id}/","href":"/platform-api/semantic-layer/update"},{"title":"Create Semantic Layer Folder","sidebarTitle":"Create folder","openapi":"POST /api/v1/semantic-layer/folders/","href":"/platform-api/semantic-layer/create-folder"},{"title":"Update Semantic Layer Folder","sidebarTitle":"Update folder","openapi":"PATCH /api/v1/semantic-layer/folders/{id}/","href":"/platform-api/semantic-layer/update-folder"},{"title":"Delete Semantic Layer Folder","sidebarTitle":"Delete folder","openapi":"DELETE /api/v1/semantic-layer/folders/{id}/","href":"/platform-api/semantic-layer/delete-folder"},{"title":"Check Semantic Layer Folder Name","sidebarTitle":"Check folder name","openapi":"POST /api/v1/semantic-layer/folders/check-name-availability/","href":"/platform-api/semantic-layer/check-folder-name"}]},{"group":"MCP Tokens","pages":[{"title":"MCP token object","sidebarTitle":"MCP token object","href":"/platform-api/mcp-tokens/mcp-token"},{"title":"List MCP Tokens","sidebarTitle":"List tokens","openapi":"GET /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/list"},{"title":"Create MCP Token","sidebarTitle":"Create token","openapi":"POST /api/v1/mcp/tokens/","href":"/platform-api/mcp-tokens/create"},{"title":"Update MCP Token","sidebarTitle":"Update token","openapi":"PATCH /api/v1/mcp/tokens/{id}/","href":"/platform-api/mcp-tokens/update"},{"title":"Rotate MCP Token","sidebarTitle":"Rotate token","openapi":"POST /api/v1/mcp/tokens/{id}/rotate-credentials/","href":"/platform-api/mcp-tokens/rotate"}]},{"group":"Users","pages":[{"title":"User object","href":"/platform-api/users/user"}]},{"group":"Invitations","pages":[{"title":"Onboarding flow","sidebarTitle":"Overview","href":"/platform-api/invitations/overview"},{"title":"Invitation object","href":"/platform-api/invitations/invitation"},{"title":"List Invitations","sidebarTitle":"List Invitations","openapi":"GET /api/v1/invitations/","href":"/platform-api/invitations/list"},{"title":"Invite User","sidebarTitle":"Invite User","openapi":"POST /api/v1/invitations/","href":"/platform-api/invitations/invite"},{"title":"Bulk Invite Users","sidebarTitle":"Bulk Invite Users","description":"Invite several people to your organization in one request.","openapi":"POST /api/v1/invitations/bulk-invite/","href":"/platform-api/invitations/bulk-invite"},{"title":"Revoke an Invitation","sidebarTitle":"Revoke an Invitation","openapi":"DELETE /api/v1/invitations/{token}/","href":"/platform-api/invitations/revoke"}]},{"group":"Permissions","pages":[{"title":"Permissions flow","sidebarTitle":"Overview","description":"Grant and revoke access to data, secrets, and live connections with an API key.","href":"/platform-api/permissions/overview"},{"group":"Permission groups","pages":[{"title":"Permission groups","sidebarTitle":"Overview","href":"/platform-api/permission-groups/overview"},{"title":"Permission group object","href":"/platform-api/permission-groups/permission-group"},{"title":"List Permission Groups","sidebarTitle":"List Groups","openapi":"GET /api/v1/organization/permission-groups/","href":"/platform-api/permission-groups/list"},{"title":"Retrieve a Permission Group","sidebarTitle":"Retrieve a Group","openapi":"GET /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/details"},{"title":"Create a Permission Group","sidebarTitle":"Create a Group","openapi":"POST /api/v1/organization/permission-groups/","href":"/platform-api/permission-groups/create"},{"title":"Update a Permission Group","sidebarTitle":"Update a Group","openapi":"PATCH /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/update"},{"title":"Delete a Permission Group","sidebarTitle":"Delete a Group","openapi":"DELETE /api/v1/organization/permission-groups/{id}/","href":"/platform-api/permission-groups/delete"},{"title":"List Group Members","sidebarTitle":"List Members","openapi":"GET /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/members"},{"title":"Add Group Members","sidebarTitle":"Add Members","openapi":"POST /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/add-members"},{"title":"Remove Group Members","sidebarTitle":"Remove Members","openapi":"DELETE /api/v1/organization/permission-groups/{permission_group_pk}/users/","href":"/platform-api/permission-groups/remove-members"}]},{"group":"Catalog","pages":[{"title":"Permission object","href":"/platform-api/permissions/catalog/permission"},{"title":"List Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/permission-recipients/","href":"/platform-api/permissions/catalog/recipients"},{"title":"List Permissions","openapi":"GET /api/v1/permissions/","href":"/platform-api/permissions/catalog/list"},{"title":"Retrieve Permission","openapi":"GET /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/details"},{"title":"Assign Permissions","sidebarTitle":"Assign Permissions","openapi":"POST /api/v1/permissions/","href":"/platform-api/permissions/catalog/assign"},{"title":"Update Permission","sidebarTitle":"Update Permission","openapi":"PATCH /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/update"},{"title":"Revoke Permission","sidebarTitle":"Revoke Permission","openapi":"DELETE /api/v1/permissions/{id}/","href":"/platform-api/permissions/catalog/revoke"}]},{"group":"Secrets \u0026 live connections","pages":[{"title":"Object permission object","href":"/platform-api/permissions/objects/object-permission"},{"title":"List Object Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/organization/object-permission-recipients/","href":"/platform-api/permissions/objects/recipients"},{"title":"List Object Permissions","sidebarTitle":"List Object Permissions","openapi":"GET /api/v1/organization/object-permissions/","href":"/platform-api/permissions/objects/list"},{"title":"Retrieve Object Permission","openapi":"GET /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/details"},{"title":"Assign Object Permissions","sidebarTitle":"Assign Object Permissions","openapi":"POST /api/v1/organization/object-permissions/","href":"/platform-api/permissions/objects/assign"},{"title":"Update Object Permission","sidebarTitle":"Update Object Permission","openapi":"PATCH /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/update"},{"title":"Revoke Object Permission","sidebarTitle":"Revoke Object Permission","openapi":"DELETE /api/v1/organization/object-permissions/{id}/","href":"/platform-api/permissions/objects/revoke"}]},{"group":"Semantic Layer","pages":[{"title":"Semantic Layer permission object","href":"/platform-api/permissions/semantic-layer/semantic-layer-permission"},{"title":"Read the Semantic Layer","sidebarTitle":"Read resources","openapi":"GET /api/v1/semantic-layer/catalog/","href":"/platform-api/permissions/semantic-layer/resources"},{"title":"List Semantic Layer Folders","sidebarTitle":"List Folders","openapi":"GET /api/v1/semantic-layer/folders/","href":"/platform-api/permissions/semantic-layer/list-folders"},{"title":"List Semantic Layer Permission Recipients","sidebarTitle":"List Recipients","openapi":"GET /api/v1/semantic-layer/permission-recipients/","href":"/platform-api/permissions/semantic-layer/recipients"},{"title":"List Semantic Layer Permissions","sidebarTitle":"List Permissions","openapi":"GET /api/v1/semantic-layer/permissions/","href":"/platform-api/permissions/semantic-layer/list"},{"title":"Retrieve Semantic Layer Permission","sidebarTitle":"Retrieve Permission","openapi":"GET /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/details"},{"title":"Assign Semantic Layer Permissions","sidebarTitle":"Assign Permissions","openapi":"POST /api/v1/semantic-layer/permissions/","href":"/platform-api/permissions/semantic-layer/assign"},{"title":"Update Semantic Layer Permission","sidebarTitle":"Update Permission","openapi":"PATCH /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/update"},{"title":"Revoke Semantic Layer Permission","sidebarTitle":"Revoke Permission","openapi":"DELETE /api/v1/semantic-layer/permissions/{id}/","href":"/platform-api/permissions/semantic-layer/revoke"}]}]},{"group":"Visualizations","pages":[{"title":"Visualization object","href":"/platform-api/visualizations/visualization"}]},{"group":"Tags","pages":[{"title":"Tag object","href":"/platform-api/tags/tag"},{"title":"List Tags","openapi":"GET /api/v1/tags/","href":"/platform-api/tags/list"},{"title":"Get Tag","openapi":"GET /api/v1/tags/{id}/","href":"/platform-api/tags/details"},{"title":"Create Tag","openapi":"POST /api/v1/tags/","href":"/platform-api/tags/create"},{"title":"Update Tag","openapi":"PATCH /api/v1/tags/{id}/","href":"/platform-api/tags/update"},{"title":"Attach Tags","sidebarTitle":"Attach Tags","openapi":"POST /api/v1/tags/attach/","href":"/platform-api/tags/attach"},{"title":"Detach Tags","sidebarTitle":"Detach Tags","openapi":"POST /api/v1/tags/detach/","href":"/platform-api/tags/detach"}]},{"group":"API Tokens","pages":[{"title":"API token object","href":"/platform-api/api-token/token"}]},{"group":"Audit Logs","pages":[{"title":"Token access log object","href":"/platform-api/token-access-logs/token-access-log"},{"title":"List Token Access Logs","openapi":"GET /api/v1/token-access-logs/","href":"/platform-api/token-access-logs/list"},{"title":"Get Token Access Log","openapi":"GET /api/v1/token-access-logs/{id}/","href":"/platform-api/token-access-logs/details"},{"title":"Token access log export object","href":"/platform-api/token-access-logs/token-access-log-export"},{"title":"Export Token Access Logs","openapi":"POST /api/v1/token-access-logs/exports/","href":"/platform-api/token-access-logs/export"},{"title":"Get Token Access Log Export","openapi":"GET /api/v1/token-access-logs/exports/{id}/","href":"/platform-api/token-access-logs/export-details"}]}]},{"anchor":"Data API","icon":"square-terminal","pages":[{"title":"Data API","href":"/data-api/introduction"}]},{"anchor":"Build with AI","icon":"robot","pages":[{"title":"Build with AI","href":"/build-with-ai"}]}]},"basePath":"","title":"Revoke an Invitation - Nekt","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}