---
id: create-a-new-rls-rule
title: "Create a new RLS rule"
description: "Create a new RLS rule"
sidebar_label: "Create a new RLS rule"
hide_title: true
hide_table_of_contents: true
api: eJztWG1v2zYQ/isEMaAJpsRx0AKFinxIghZNF7RB7G4DoiClpbPNhiJVvtjxBP334UhJlmUH29JhAYZ+inU6PuTz3AtPKamGbw6MPVPZisYlTZW0IC3+ZEUheMosV3Lw1SiJNpPOIWf4q9CqAG05GL9MMGcAf2VgUs0LXEXj2n7XNUbUrgqgMTVWczmjVbS5pg/ReerhSCcEmwigsdUOduBOubCg74K9j9t52cMF6XIa39BrmDnBNI3oGTNAb3fsMNPKFXf3sNrGb1/901NLlu84Llp7SDl7uAQ5s3MaH796FdGcy+Z5uANXKxGCtQnszT1kbiH3rjUIlxZmoBGltjCt2co/I5cdsMH+93FzLi/C22F/Ezw7fHNcQ4ZhqXNtM7y1bA3L9lzroKnJV0gtvuEW1afXl6NrMPa04IeFMhYPAQ8sLwR0M7oRsJela/NGknVyppMaa+cQ2/VzHZOb4e1ayZvhbVX1qwJPS+rq68qBOeT1MYWSJgTi+Gj4HaXMs06ApMsnIT4ajBP2R+X/qPz/YeVXfd/NXoAlMeyWwH/bHLq9AVvDzt5w7QQQlmWQ4eFfHh19RwvIwRg2g064mlz6C6HahfSMZaQeLWJyIRdM8IwUTLMcLGhDCq0W3B92m05nbeDyPe3sX+DyWTJn50rzPyCLyamzc5C23p+0+bmDSHdhYPLyeZl8VJZMlZNZTMZzaEQGlNsop1MgmQJDpLIEHrivjC1SLYZndHz83LEptErxcSKAYFzsKia/YrqF+IDWSu/ica6cyDzVGqFejVu9eu7yuZAWtGSCGNAL0IFFTE4lcRIeCkgxaN5IVJo6/UgCvmOWiVaCiBpInUaO8U1Jvy6tbyi+vcyMv/fUklzCAgQZNZ63EX04SFUGI39M45cKJmd4x3++vqQRFWwCYv0YMgmfnRbk4Hdy9Wk0JgmdW1vEg4FQKRNzZWz8+uj16wEr+GAxHGi1FLhxc8JBQkmSJJKQg/ckoad1HfkAxOQMmAZNfjo9P387Gt2NP/3y9uPmgvMQuoPxqoCY9KO39s3IizKh97BKaEwSumDCQUKrF7SKWppXKzv3l1hDtDW0VHleKG2bgjKJTGQzkpGT1uxvmz3clzxBjygsnAPLQJuTsqdKIFArk1DyM2EppvWdVfcgq3o1sj/ZxTiR+4ksNJd2rzn5ITrv7e93tfjAFmzkM6yjx4ZxHX4lDUrSysCWjFsyBZvOvQhPlKAMTHKwc5UhBcyvvjxx40b62YO0vzQJVAaNxl6iL9F6STd/glDbORS8G2UnKlvF5MPo08fDUO58utoryT2sOjKTah+9Ue03iQwKZcyyVp2e9rWTEnAo1GwPXfffUCzZXjPTwCwQRiQsCY4D2gmciYJINKZ+zolowXBGpI9KjPHzHSfUudMY3p1R2pp5LvE1yRBOFTlIW/cunz0BqCy0sipVoooHgxKhqrjEwqm20M6dsSpvICK6YJq382YDE2bPKfNTmT9mZ4avH/GPHwY38d+Px1ekxakiiqfZxGv5bh1uFJoyvsOZjShNLq4QBLlsguyUql7vvasKo9kEYIRXSiDp23NJJz5T3ymdM8T78NsYY+TdaFy/XX9ZedJVhIvvNEw1mPlTQRDFKHm9/v/Q2+f6Oj7qTsBHt1VEuZyq7S+PkStAG+iO+h0TZnXwWwxDsIzNmb/J640fq6LeV2pNxsKDHRSCcYloPsPLusBuKCs4bjn0LDaLjEYU8zEk3A0tywkz8FmLqkLzNwd6FYb+Juf9LR3R0Nl8XQbduj3Kl4hw/tupP6pgAYYVp2kKvkk/7nvbaRrYWGlEJ/X/BnOV4RrNlsiKLWlMaUSV18WnrLeFq8KFOSZgYi7hJNwRr825+geyar795KpzwrIMHqFFY6MIVPytRiv8HvoTt9sxCA==
sidebar_class_name: "post 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={"Create a new RLS rule"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/rowlevelsecurity/"}
  context={"endpoint"}
>

</MethodEndpoint>



Create a new RLS rule

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  parameters={undefined}
>

</ParamsDetails>

<RequestSchema
  {...require("./create-a-new-rls-rule.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./create-a-new-rls-rule.StatusCodes.json")}
>

</StatusCodes>
