---
id: update-an-idp-org-policy
title: "Update an IDP org policy."
description: "Update an IDP org policy."
sidebar_label: "Update an IDP org policy."
hide_title: true
hide_table_of_contents: true
api: eJx9VMtu2zAQ/BVhTy3A1shVt6TtwYegRh4nw4e1uJGYUCSzpNwIAv+9WMp24sTJRaDEfc3sjCbQFBs2IRnvoIb7oDFRha5a/l5VntsqeGua8ScoSNhGqNew1OSSSWO1Yr8zmhg2CiI1A5s0Qr2e4IqQiavLIXVQrzd5oyAgY0+JOJaI2HTUI9QTpDEQ1OCGfksMCtxgLW4tQZ14oKyA6XkwTBrqB7SRFDjsJcPosNSgwMjcAVMHWZ0pHBMb18JJIal8rOO5fV9nMwdTTFdej1Ks8S6RS3LEEKxpUAhbPEZh7UxXv32kJoGCwD4QJ0NRbtlbusYQZKJzI3puP7/OClBrI43Rrt7ULbzknAvGGLyLpVtW0FPqvBZcPpZpBF4NC6PDYioE5oXndjEVEjLIHnl3WNLAVoJ3F4WRw4ZvBesM52TPx3m7lIJUKnFQw7ZElfmFr5tXZv+8YB9k1e+YOUA+JeQNT8Y9eMmSUWfh7i5EoSZJNViha701rlq6RC2XXVWXq6WkChM9lq3tBfCV5k/c8UYGXxtl5iHRS1oEi8ZJ30LmtN/AWtQLCuqDiD0L2nrW4kZBJ/uq1zBNW4x0zzZn+fw8EIvFNgp2yGb2yXoCbaKcXz2yHwHdCBJqB3kDBU80Hq0jdvmQ+Cngbzd7+3yvPoP4ddMZW95kBR2h/DZk8vnu19zmx51UeM39YDXR4VHTq7+3d6Bgu7do77XkMP4DVZ6lty9QZvPJtwksunbAVmLnmsVYpxLeS1YdDjLpWXTTNEfc+SdyOR/BJnkXsDn/B9DH1A0=
sidebar_class_name: "post api-method"
info_path: 03-Pangolin/07-API/pangolin-integration-api
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={"Update an IDP org policy."}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/idp/{idpId}/org/{orgId}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Update an IDP org policy.

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

<ParamsDetails
  parameters={[{"schema":{"type":"number","nullable":true},"required":false,"name":"idpId","in":"path"},{"schema":{"type":"string"},"required":true,"name":"orgId","in":"path"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"type":"object","properties":{"roleMapping":{"type":"string"},"orgMapping":{"type":"string"}},"additionalProperties":false}}}}}
>
  
</RequestSchema>

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


      