---
id: create-security-roles
title: "Create security roles"
description: "Create security roles"
sidebar_label: "Create security roles"
hide_title: true
hide_table_of_contents: true
api: eJzFV21P5DYQ/ivWqNKBGlhA1wrlxAdAnA5KD8QubSWCOG8ysAHH9tnOwjbKf6/GTrLZF1T1qMQXNnHm7XnmxUMFBr+XaN2RymYQV5Aq6VA6euRaizzlLldy8GiVpDObTrDg9KSN0mhcjpbeJC+Qfgv+co7ywU0g/vVjBG6mEWKwzuTyAeo68u5ygxnEN0HptpNS40dMHUTgcifoYFhqNBbdlRJ4qPNtrayDOgJ84YUWOPc7d1BHkKFNTa4pbIjhd5WhYE3YfffOlOjjsVpJG1Ds7ey+gYM8o79LkL2HUrh3paxeVlgkkQJvHfbjXSF3hd1ThwXLpUXjMCOrH3d23sBggdbyB1xD478g6BThiGesKemYncopF3nGNDe8QIfGMm3UNM8o2FU0Pd2A5S3V8D9guZa8dBNl8r8xi9lh6SYoXeOfdVWxBkhf0SPZ23tvJNqolF7HAhmhcLOY/UHJCWjQGGXWQTlWpciYVI41FhptcvXLexfbqXRoJBfMopmiCShidihZKfFFY+owC4dMpWlpXknXZ+646CiIwGJaGsIY31Tw+Owgvrmtqen5g6UhMGy+M+pyS+OAcHnUp9TKqUHu8K41c2e8WAQvW6nKcOiBWG9ccPlACtdX5xCB4GMU81erSpMSzLQ0gm39xS4vhiOWwMQ5HQ8GQqVcTJR18f7O/v6A63ww3R20Tgfe6SABliSJZGzrC0vgsKlKH2rMjpAbNOynw+Pjk+HwbnTx28nXRYXjkNqt0UxjzJazO5fN2IcqgSecJRCzBKZclJhA/QHqqAN5OXMTJXswu4MOaF5oZVw7A2wiE9neD+ygO/ZDdYP8sv/MRhTUJsgzNPagWuIkhN/wkgD7mfGUiv7OqSeUdaNN2A/W4U3kZiK1yaXbaOPeJuGNzc0+E2d8yoe+/npsLBzOU6+kJUI6Evgzzx27R5dOPAU/REAVcBToJiojAFRZy+TErRhbrhwC/a0tniowNPIEfYvmKv3aCTSt1k+Qbnkdq2wWs7PhxdftMAry+9lGxZ5w1iOZ1ZskTVx/SmTgJ+OOd9wsMd8IKYHbQj1skOjmJ6B2Xhp0vmlZSxhrmzaQBDH4qzwCzWlTgFcIptz5WRT6uzSU2rUZguUAzukzy3CKQukCpWummq+cYKjSRjmVKlHHg0FFpuq4opapV6wdl9apojURwZSbnIa/bQaxN0PPGd5zv2/4MCEClGVBU655pR8/4xbtfxmNLllnp46Aolm01+FdCW4YxjV9ox2HKcNOL8kIYVk0spaqRt9L1zXlsk3DkC6bANIP7grGvk4/K1Nwsnf254hy5MUgbr5Cd+F40HVEyncG7w3ayY8aIStWyav5fn/y6t4cQS7vVUC+ALRZJ9dsmJRTNDbITXcDe9YVXPbsv1bUC166+9fhixtowXNJ1nzJVU293wDXObnchd79GEFrkAokVMANVNWYW7w2oq7p+HuJhq7S23kR+gs1gjBofKM84cwvG/OR4WtWlBTXylZBHRE0DtMU/cR8Xfa218M05yCCcfPPVqEy0jH8maDwZ4gB6DInbV9D/izM7TKsHMEmJZdWvB55XRE0D4Sq+cTlrBdhVQWJMDGpcwMUf8VAfVvX9T8mSNiu
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 security roles"}
>
</Heading>

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

</MethodEndpoint>



Create security roles

<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-security-roles.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./create-security-roles.StatusCodes.json")}
>

</StatusCodes>
