---
id: update-security-roles-by-pk
title: "Update security roles by pk"
description: "Update security roles by pk"
sidebar_label: "Update security roles by pk"
hide_title: true
hide_table_of_contents: true
api: eJzFV21v2zYQ/ivEYUATTImbohsKFf2QBi2arkuD2NkGRIFLS2dLDUWyJOXEE/TfhyMlWX5JgbUf8skmdXe857nj3bEGzQ0v0aGxEN/UUEiIQXOXQwSSl0irO4jA4LeqMJhB7EyFEdg0x5JDXINbaZIqpMMFGmia2yCN1r1V2YpEUiUdSkd/udaiSLkrlBx9tUrS3tqWNkqjcQVaWoXzayj5wyeUC5dD/PvLqDvQOlPIBTTN0LmboHTbS6nZV0wdROAKJ2hjXGk0Ft2VEniqi2NdOWgiwAdeaoHrY9f2mwgytKkpNHkNMfypMhSs9XqbGu+O1UraAOLF8+c/QYFBWwn3lNQ02/KbZK0d3KFth7dzhyVLcy4XmJGZlz9FTYnW8gUOUnAA+3su94rwlmesTdWYncslF0XG1heCaaOWRUbO7oIZ6AYsJ0+L5VryyuXKFP9iFrPTyuUoXXs+67NgD5ChYkDy8mmRXCjH5qqSWcwmOXYkI9FtVWVSZJlCy6RyDB8Kon8XVG/DI3rx4qljo41KaTkTyCgubhWzvyjdQnzQGGX24ThTlcg81NZCq01H/fbU1+dcOjSSC2bRLNEEFDE7layS+KAxpaD5TabStDKPJOB77rjoKYjAYloZwkj96Ou9g/jmlpqK4wvqUTBuvzOqU5YKGuHyqM8ziKHSGXc47cxMDYlNZ6upb2QPR6nKcOzhhJYnuFxADOn11SeIQPAZivUyZBytKyPY0T/s8nrCEsid0/FoJFTKRa6si189f/VqxHUxWp6MupNH/uTRSQIsSRLJ2NEHlsBpe9u8wzF7i9ygYb+cnp29G4+nk89/vLvYVDgLAT6arDTGbDvGa9mMPasTuMNVAjFLYMlFhQk0z6CJepCXK5crOYDZb/RAi1Ir47prZxOZyK6hsTf9NjWHAzqW/X82oqCXI8/Q2Df1FifB/ZaXBNivjKeU+lOn7lA2rTZhf7MPbyIPE6lNId1B5/cxCR8cHg6Z+MiXfOyzcMDGxuY69EpaIqQngd/zwrE5ujT3HPwYA3UAUqLLVUYILq8n2+TEnRTbzhwC/aVLnjowNPEEfYnWKsPcCTTt5k+Q7nidqWwVs4/jzxfHoSAU89VBze5wNSCZNYckTVy/TmTgJ+OO99xsMd8KKYHHQi0OSPTwNdCl3upF/uqyjjDmCWOzFfNXNzBFE2lF8fFTagyPsFzru4aC6EtTuOiVoRjvDRVse/KJPrMMlyiULlG6tsj5FAqGam2UU6kSTTwa1WSqiWu6O82OtbPKOlV2JiJYclNQL7BtXfZm6H+Gc+7nKe8mRICyKqnotUv68SVv0/6HyeSS9XaaCMibTXs93h3nxqF60zea4Zgy7PySjBCWTSN7qWr1vXTjx/8uFGPqPQGkr+M1zHzCvlem5GTv498TaN8SdNHCV+j7jwfdRKQ8NTg3aPMfNUJWrJJX64fJu0cn/ggKOVcB+QbQdj7eMzJTTNHYILc8CexZV3I5sP/97N44q2/KDh/cSAteSLLpE69uM/8GuC7o4BMYNM0IvFmIINZ3lCkhFW6grmfc4rURTUPb3yo01GJv19noL0lW+Cklg3jOhcUdv/pxAw6u2qnykK3Z3vS33eRy5ZNeVLSCiIp2eFg2t5Ssvtb508OHYdUaKO6MN3QXg8ZpmqIv2o/L3g4KyOU1pcysfZ6WKiMVw++JPX4ffFQecniF0V7oHFUYfYJJyioangfx6rOv/UOg9rJQ10Ei1OymJ8U3OeKlaf4DAPRfhg==
sidebar_class_name: "put 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={"Update security roles by pk"}
>
</Heading>

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

</MethodEndpoint>



Update security roles by pk

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

<ParamsDetails
  {...require("./update-security-roles-by-pk.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./update-security-roles-by-pk.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./update-security-roles-by-pk.StatusCodes.json")}
>

</StatusCodes>
