---
id: create-security-roles-by-role-id-permissions
title: 'Create security roles by role_id permissions'
description: 'Create security roles by role_id permissions'
sidebar_label: 'Create security roles by role_id permissions'
hide_title: true
hide_table_of_contents: true
api: eJzlWG1v2zYQ/ivEYUATTImTogMKFf2QBimarmiM2N0GRIZLi+eYqUSqJOXEE/TfhyMlWX7Jtq4F8mGfLFF3x3ueO94dXUHBDc/RobEQ31QgFcRQcLeACBTPEWIwOsOpFBCBwa+lNCggdqbECGy6wJxDXIFbFSQqlcNbNFDXkyCN1r3RYkUiqVYOlaNHXhSZTLmTWg3urFa0trZVGF2gcRKtf0OTS2ulVtOlxPtpjqqcSuG/CbSpkQXZgRg+SOuYnrO1BiMNRhrM+y8d5nafu1G7wo3hK6jrPtabx32YdIp6doepgwicdBktXOsMh53eUFs3CgjrCPCB5wVJ/R28m9NJTY5sgjwTglFAeigta7jbDpBHYQutbKDy+cnJdwTCoC0z938IUL2ttBmyHhGPB49itxO8YS9mXAgUZPnFd0UlR2v5LfY4s85IdfuPKDpFeMMFa85qzC7VkmdSsHVZYIXRS+md3UXU0w1YTp8WyyfFS7fQRv6JImZnpVugcs3+rMuYPUD6igHJi6dF8lE7NtelEjEbL7AlGYluq0uTIhMaLVPaMXyQRP8uqM6GR/T8+VPHpjA6pddZhozi4lYx+43SLcQHjdFmH45zXWbCQ20sNNq01S9PfXwulUOjeMYsmiWagCJmZ4qVCh8KTClofpHpNC3NIwn4ljuedRREYDEtDWGkrnx373xNoXLGb6m+wKj5zqiO+UJHuDzqSwExpAa5w2lrZkpNw05n4WEqxbTXQCCCh6NUCxx5fGESyLi6JTufrj9ABBmfYbZ+DSlI76XJ2NEfbHg1GrMEFs4V8WCQ6ZRnC21d/PLk5csBL+RgeTpofRl4XwZV40k96LmSAEuSRDF29I4lcNacSQ8rZm+QGzTsp7Pz84vRaDq++vXi46bCeUiDo/GqwJhtZ8JaVrBnVQJfcJVAzBJY8qzEBOpnUEcd8uHKLbTqYe8WOvQyL7Rx7eG0iUpU23HZ6275uNDWHdC+7MdQFAVbC+QCjX1dbREVMDVkJcB+ZjylUzN1+guqutEmQl7vIyFRh4kqjFTuoAVzTMIHh4d9et7zJR/5BO5RtLG4ThKtLLHUMcPvuXRsji5deF5+HCtVAJejW2hBqCgxtxmLWzG2nWPExOc2zapA29iz9jlaq/SzLHC3m2lBuiV7psUqZu9HVx+PQ4GR89VBxb7gqsc8qw9JmgLwKlGBNMEd7wjbCkcjpDM8zvTtAYkevgIqElvl05cC1rLo50fLZuFhSs1+oxQE7ugaoC2F0d8GYviWYFDwfTUMpaQ0lBt7Qwzbzn6gz0zgEjNd5KhcU1d96gVDVWG006nO6ngwqMhUHVd0EOsda+eldTpvTUSw5EZS+7FNK/BmwqQ6536q825CBKjKnOps80o/vspu2n83Hg9ZZ6eOgLzZtNfh3XFuFBoGfaOrFtOGXQ7JCGHZNLKXqkbfS9f+ytXGxk+yAaRvHRXMfE6/1SbnZO/972No7m90QMNX6FqeB11HpDw1ODdoF//VCFmxWl2vL4MX/+r2czKpI5BqrnfvEaOyQGOxP8z3lijrgtzyNJBpXc79FNBcaL/xPGxs3s0JDh/coMi4VLSJT8yqOSo3wAtJnpxCr49H/iJNBuP1jbq/06TNnhuoqhm3+MlkdU3LX0s0NAhM1gnsz5WQfpYSEM95ZnHH1W4ogoPrZvY9ZOsAbUJoL1hq5c9JVtIbRNQfen8C1BSWUEa9C+FrvyD2tHcmMTrDQeMsTdE3icdlJ71SRFUcIpg1/yXkWvh/Jvg90crvg6faAw+XVVoLraoMY1qwSelIg34vkF3aNg+Eai8XVRUkQj+oO2p8VyVi6vovd6UNnA==
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 by role_id permissions'}
></Heading>

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

</MethodEndpoint>

Create security roles by role_id permissions

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

<ParamsDetails
  {...require("./create-security-roles-by-role-id-permissions.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./create-security-roles-by-role-id-permissions.RequestSchema.json")}
>

</RequestSchema>

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

</StatusCodes>
