Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-the-csrf-token.api.mdx
Superset Dev 752ebd47cb docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
- Snapshot all four versioned docs sections at v6.1.0; master continues to
  serve as "Next" (lastVersion: current, banner: unreleased) so editing
  master keeps updating the canonical URLs
- Enable the previously-disabled components plugin and version it
- Rename stale "developer_portal" references to "developer_docs" across
  package.json scripts, manage-versions.mjs, theme files (DocVersionBadge,
  DocVersionBanner), DOCS_CLAUDE.md, and README.md (URL backward-compat
  redirect /developer_portal/* preserved)
- Add admin_docs version scripts; drop dead "tutorials" plugin id from
  the version badge
- Generalize fixVersionedImports in manage-versions.mjs to walk every
  section's snapshot and rewrite ../../src/ and ../../data/ imports,
  catching admin_docs and components files that previous version cuts
  would have broken
- Remove orphan files: developer_portal_versions.json,
  tutorials_versions.json, and stray empty versions.json files inside
  components/ and developer_docs/ content directories
2026-05-02 11:53:56 -07:00

61 lines
2.4 KiB
Plaintext

---
id: get-the-csrf-token
title: "Get the CSRF token"
description: "Get the CSRF token"
sidebar_label: "Get the CSRF token"
hide_title: true
hide_table_of_contents: true
api: eJytVm1v2zYQ/ivEYR8STImSYQMCFv3gBUnartiC2MEGWEZK02dLqUSqJOXGE/jfhyMl+SXpgKX7ROp4d3yee6NaMGhrrSxa4C38dHZGi9TKoXK0FXVdFlK4Qqv00WpFMitzrATtaqNrNK6I1gZtUwYrt6kROFhnCrUC75NeouePKB34BPBJVHWJu3ZbfZ/AAq00RU0XA4e7oMIImCiUZS5Hdjm+u2ZOf0ZF/n4+O/8O6BVaK1b437EPhnCvRONybYq/ccHZqHE5Ktfdzwx+aQqDi5e47RqS91++Kwn/A5P3yqFRomQWzRoNQ2O04WykWKPwqUbpcBGFTEvZmG/wuhZOlFEvXG5RNqZwG+DTFh6/OuDTmZ8l4MTKAp/CuD+fJfB0IvUCxwGcDQalUCvgIO/vPkICpZhjuf20ujGSoMvGlOzkL3ZzNWEZ5M7VPE1LLUWZa+v4xdnFRSrqIl2fpz2cVFqzfAh1lGbAsixTjJ28YxmMurSEwHP2KwqDhv0wury8Go8fJn/8dvV7BuCTAdztxuVa7cAbBAPAoqq1caEe0DqbqUz1HcjeDuLTFbojwsFexyKJtjmKBRr7tj3gkgFnGXR8MmA/MiElWhvtfaaOM1WbQrmjHtspld3R8fEu2w9iLcYh3zuM94TbtGhlifRAVHwVhWNLdDIPPF/Pst2jyvtvdpg/4vypT2Eb+U4C3U/RwtNC3N9kKuJdCCcGrAeR6JR0iaelXh2R6vEboHLeb4IbdIfDKoEKXa4XwGGFFKZauBw4/BtZCmZoxtgMjaFYvxgyOETwkY7ZAtdY6rpC5bq2DqmMjtraaKelLj1P05Zced5Snfpn3i4b63TVu0hgLUwh5mWcPb0b2i9wKeJUJ5iQAKqmojbvPmmx8Cxe7yaTWzb48QkQmn1/A99n4MZxXtGZEhUybdj7W3JCXPadvBiqzj5oe0/J7HMxpmkbSYbJ1cI8lNK1NpUgfx/+nFCOghrw7hSGiRtI+4SMHwwuDdr8tU58AoVa6khnD31To7GholzhaKjviqh2ot76PIbEukqEp4Ri9a1S3btieFIcPrm0LkURnt5QRG1XxlMQdUH3ncPOyE9gW8yQAOU9JnYKbTsXFu9N6T2JvzRo6ImYbWsrPBQJxBYP9f8ZN8BhJCWGObMWZUOwnr2TlMKh2W6uKLr01u4wGWLcbch7dyTUZsd320aNODOoMSKI7gdk5r3/B+k3Md4=
sidebar_class_name: "get api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Get the CSRF token"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/api/v1/security/csrf_token/"}
context={"endpoint"}
>
</MethodEndpoint>
Get the CSRF token
<ParamsDetails
parameters={undefined}
>
</ParamsDetails>
<RequestSchema
{...require("./get-the-csrf-token.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./get-the-csrf-token.StatusCodes.json")}
>
</StatusCodes>