---
id: set-the-password-for-a-resource-setting-the-password-to-null-will-remove-it
title: "Set the password for a resource. Setting the password to null will remove it."
description: "Set the password for a resource. Setting the password to null will remove it."
sidebar_label: "Set the password for a resource. Setting the password to null will remove it."
hide_title: true
hide_table_of_contents: true
api: eJytVD1v2zAQ/SvETS3AxgnQSVtSdAhQoEacToKHs3SWmEikQp6cGAL/e3GUZFtI2imLQVL38d67dx6gpFB407FxFjLYECuuSXUYwqvzpdo7r1B5Cq73BV2pDTEbWy2D2CnbN416NU2jPLXuQMrwFWhgrAJkOTxMBWCrIVDRe8NHyPIB7gg9eXXbcw1Zvo1bDR16bInJhxQRippahGwAPnYEGQT2xlYQNXh66Y2nEjL2PWmw2ErAjPa+BA1GaHXINUhtyaDAd648SsXCWSbLcsSua0yBosPqKYgYH7R2uycqGDR03nXk2VCQr7MQ70FqEGFw19CMsTX2F9lK6H7X0OLbfLu5vo4LTvm57lYDlqURcNisL3rvsQkU45gYOmdDQhQ1tMS1K4W7CwmxSJDBahZnNZxliqtTJxmPP8za976RnMNNEm8e3EZkGZkvxnciXzN3UinFQQa7FAWCUqR9OA/h5xu2nYhzKeLFhI3dO/koiEaHHm7EVoYlCdZoK9cYq+4tU+XT9NTt+l5ShXeLaY6TLz7b3IvVuTDT52/RKCvTG6+6Bo0Vfmk2wzTX/GR60JAtFuDSRLV4IcthGHYY6I9vYpTnl568rONWwwG9Ge2aD1CaIOdy8tl/GH95mGz7Vf0L7/SI9gjSpunlBhqe6bjc2biNGmrCknxCMQb8GHt9e5Qy5wLv1laMevL++vfmETTspnVvXZn+H/AVdPpNAFzik+yc3gZo0FY9VhI71hTn4tLjk6f1fBCkH1IchjHi0T2TjfHEmOUuZGP8CyeP6mQ=
sidebar_class_name: "post 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={"Set the password for a resource. Setting the password to null will remove it."}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/resource/{resourceId}/password"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Set the password for a resource. Setting the password to null will remove it.

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

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

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string","nullable":true,"minLength":4,"maxLength":100}},"required":["password"],"additionalProperties":false}}}}}
>
  
</RequestSchema>

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


      