---
id: policy-delete
title: "Delete a policy"
description: "Deletes a policy. This action cannot be undone."
sidebar_label: "Delete a policy"
hide_title: true
hide_table_of_contents: true
api: eJzdVt9v2zYQ/leIe2oBzXbbZBv0ljUZlmEPQetgBZIgOItniy1FsuTJTWbofx+Okh3Zzn4C24D5gZaoI++77+4jbwOaUhVNYOMdlHBOlpiSQhW8NdXjRM1rkxRW8l1V6JxntSDVOu0dTaAAHyiifL3UUEK/qtR5GyiAcZWgvIGrPA93BQSM2BBTlPkNGPEakGsowGFDUILRUECqamoQyg3wY8izjmlFEboCIn1uTSQNJceWioMQ5jWpy3Pll4pr2oYBBdADNsESlKdff/Ntd1dAoqqNhh8zjgVhpHjWcg3lzZ18jpSCd4mSgHg9m8nfsadd+OoLJpXaqqKUlq0Vj5V3TI5lIYZgTZUNpx+TrN6MQgxRtmHT+xo2GcW+8N4SOjgM9dJp2ZSS+lIT1xRzyL8HaUeCMNflXwEnHz4cB/fWGnKsKEYf1Y4LpVtS7JVxa7RGK+NCy8pH1ZiUjFupp/T+JQaGQP3iI1UM4xTfQGLkNr31Wgoq44ECGkoJV5Qrap+9J+vj4jkk8If5/Er1K1TlNalIIVIixxKLkJkCVWZpKlWN+XhBk9WkUCezmQyvZHgjw8nLPZJPZrNOSNjDkjgatzqCcqYarGrj6KtIqHFhafCVcXGNrCTVKx/NL5R6bBTXFNUSjW0j7XmGBep7IZESi2R62v4EiEU0tCxU3TbonpCMrLbC6sHJdls2buE71Opd7/QWZOLaYct1hqxvYZ+csbVA3Gb0j0FqbeQRrdLEaGxSuPAtP8Ha9yMyHajIimjQLn1sSKvMrmM0jvSupMcVvFXI6XMKed/Tf6gQ04tSCgidMim1pLzL4M6uLlUymv5n0khjIoZiOBVpnM5ey/BmP/Gn/50qJNjo0N73Rvc9Zf+aPi4H92oonQux6ZUiM6Yide1wjcbKrkeCeXb5PyqdM6daRw+BKiY9hOSrqo2R9ERdWcJEiuOjwhUapywyxa1qMi6uvbQFu34g3/QlTDGE6Ndop/39PN0Y3cmtnwPrO4M2WiihZg6pnE4xmIlrrQ0WWdQ7qXwD41v8vQimr/PxXb5jRDba9hX5gMxGUAwP3/vYIEMJP/48B8Fu3NLLcsHTk/dqMpvMpKcx3JMzxCAZCD5xg1m5QxfTd1K7RuowFZunA+BvNF1DTEwPPA0WjRMMmbDNQPENbCkW1rcQSqPlWKh9YjHZbBaY6DrarpPpzy1F6YbuClhjNFKDORPaJHnWUC7RpsOGaxzJi3fD4fRS/VYb9iz0YRKdgFyjbeUNCvhEj31D2N11BdSEmmKG1H84qyoKPFpydJJKheyq8Pzip4v5BRSA+6VxUArZwbOINpveYu4/keu6HUCWd8HYdb8Cj03n/w==
sidebar_class_name: "delete api-method"
info_path: docs/api/approval
custom_edit_url: null
---

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 policy"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/approval/policy/{id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Deletes a policy. This action cannot be undone.

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

<ParamsDetails
  parameters={[{"in":"path","name":"id","schema":{"type":"integer"},"required":true,"description":"The ID of the policy.","example":5678}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"The operation was successful.","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean","description":"Indicates whether the operation was successful.","example":true}}}}}},"4XX":{"description":"Client error responses due to invalid input or missing parameters.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific client error (e.g., 400, 401, 403, 404).","example":400},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"bad_request"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Bad Request\", \"Unauthorized\").","example":"Bad Request"},"message":{"type":"string","description":"Additional details about the error.","example":"The request was malformed or contained invalid parameters."}}}}}},"5XX":{"description":"Server error responses indicating an issue on the API side.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific server error (e.g., 500, 502, 503).","example":500},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"internal_server_error"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Internal Server Error\", \"Service Unavailable\").","example":"Internal Server Error"},"message":{"type":"string","description":"Additional details about the error.","example":"An unexpected error occurred. Please try again later."}}}}}}}}
>
  
</StatusCodes>


      