---
id: delete-a-role
title: "Delete a role."
description: "Delete a role."
sidebar_label: "Delete a role."
hide_title: true
hide_table_of_contents: true
api: eJx9U8tu2zAQ/BVhTy3A1shVt6TxwUAPhuueDB3W0kZiQpEMuXJjCPz3Yin5Bae9CBS5nJ2ZHY7QUKyD9qydhRKeyRBTgUVwhr6DAsY2QrmDjTMElYJI9RA0H6HcjfBEGCgUjwN3UO6qVCnwGLAnphBzRaw76hHKEfjoCUqIHLRtISkI9D7oQA2UHAZSYLGXAmm8akCBFj4euQPBlWqK/OSao6DVzjJZliV6b3SNImDxGkXFJ23d/pVqBgU+OE+BNUU5nZvd07vhtzvVVQqwabS0QrO+QnpBEyml6Vr0zsaMnxT0xJ1roIQmOysMRFIJC8FcjBNyAnE2HE62DcFIyeEhaz95/ktUTcRvnD+z75i9IOU6KGGfq7IacWZz8XD5gb03dO3B1Wi0fXFyJHymXBweJAua5Qqs0bbOaFusLFMbsvXF43olV72L3GMewjzQu0jdJO5qlJ+Eb5LF9MELb1Bb6ZC9GWcbp9GAgvIyos5FlpNx3GOk38GkJNvvAwWJbaXggEHjXrTsRmh0lHUzT/E//L5s5kh8Lf5Fbt5EewRpYwb5AwVvdLxkO1VJQUfYUMgMpsMfU59vW4G4XL6LtyTinKrn5c/ldgkK9vPD6F2TXxH+AZW/ub3LaqbIy94IBm07YCu1E6qEBG/jNMdHnRbC9VOB4zhVbN0b2ZTOeln+RW5KfwGizX9i
sidebar_class_name: "delete api-method"
info_path: 03-Pangolin/07-API/02-Routes/pangolin-integration-api
custom_edit_url: null
hide_send_button: 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";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Delete a role."}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/role/{roleId}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Delete a role.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"schema":{"type":"string"},"required":true,"name":"roleId","in":"path"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string"}},"required":["roleId"],"additionalProperties":false}}}}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{}}
>
  
</StatusCodes>


      