---
id: package-installation-delete
title: Uninstall a package
description: Remove an installation.
sidebar_label: Uninstall a package
hide_title: true
hide_table_of_contents: true
api: >-
  eJztVUtu3EYQvUqjNrIFzk8a2RYXARxHQRIEQTCWEQPSQCqyi8O2mt3t7uJIAsFd9rlOcp1cIFcImkPNTxPvDWTFT/1fVb1qQFLIvXKsrIEUZlTZJQk0QpnAqDVGwfDaXJtvxN+///XPn3+I4+NfLFN6fCwuSxKePtcUWBSodBD3iktxOx2Pb8V9qTSJQH6pcgrCehFy6yiI3BMySVF4WwkuSTjM73BBR0EER7kqVN5FFfSgAovaSPKd3nZKR0HcLlVQmaYbtrfDawMJWEe+k/4oIYXe7c22WSpJExMkwLgIkF7BryutHecwT8Chx4qYfNRqQJnOI5eQgMGKIAUlIYFYvvIkIWVfUwIhL6lCSBvgRxe1AntlFpBAYX2FDCnUtZLQJnvIX+4VKJQcQgL0gJXT0dFr+YbOizEOJtlJPpjKUxqcF1McnGWv8icZtPMEAuW1V/zY5Z0RevJvay4hvZpHsafgrAkUYpIn42l8PE+lB0/cYxC16RMjOYyJTz9+fG70TisyLMh768U6hpA1CbZCmSVqJYUyruZEVCoEZRZiA3KcD2VCXRQq7xw58p2WNSHikFvDZDjGRed0PyKjTyEGb57DbrNPlDMk4HycClaregMj1+GdlbSlqwzTgvw22tPxuI1Bd/TWrdw0JUN5029ARKar/ssW36IUs41FRSHg4mCUXXx/qCs0A08oMdMk6MFpNKvt3PE/o7gW1oijyXA6HB+ttqjfTBRSFQX5CHCmtBa2EBUyeYU6iBf+yZYmxQmeZtNBfiZfDab0uhi8wfNsMM4n8oROiymeZS+hbRNgxV3YrvJZ33Zo2yg7OzQn78kvye/Pyf8t/hpb3BXHpY1suybWjiRTGB2i3zBqlGwhclScghW11l5DCiWzC+lohE4NTa2108iRMoe5rXZo7X2cg1Wrt8ltDW50BD0Rd/3rlCDpX75/ouGffrvsylOmsNE85rPqw2Q4Ho5hU3h/ImIvnQ1cYTeP/RX48ESOAp9Ic7+xzWa0v/ID20PM9MAjp1GZiEnXv6bv+9XBsxsggVTJeFdLGziqNU2GgT543bbx9+eafLxY8wSW6FVcgG44pArxXUJaoA70BWRfzPpT/FL8xy09mH3/E80jxNC6jl+QwB09rm58O28TKAkl+S6jleBtnpPjLZNnlBVndr0d3138fHF5AQng7rDuDWcX4GBGTbPSuLR3ZNp2nSDH75hj2/4LvmJlkw==
sidebar_class_name: delete api-method
info_path: docs/api/package
custom_edit_url: null
canonical: 'https://docs.nullplatform.com/docs/api/package-installation-delete'
---
<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Uninstall a package"}
>
</Heading>

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

</MethodEndpoint>

Remove an installation.

> ℹ️ **Note:** The request fails with `400` while services or scopes created from the package's specification exist under the installation's `visible_to`.

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

<ParamsDetails
  parameters={[{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid"},"description":"The installation id.","example":"7d8e9f0a-1b2c-4d3e-9f4a-5b6c7d8e9f0a"}]}
>

</ParamsDetails>

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

</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"The package was uninstalled."},"4XX":{"description":"Client error responses due to invalid input, missing parameters or insufficient permissions.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":400},"code":{"type":"string","example":"bad_request"},"error":{"type":"string","example":"Bad Request"},"message":{"type":"string","description":"Human-readable explanation.","example":"Revision '1.4.0' exists with a different bill of materials (revision e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b)"}},"title":"errorResponse"}}}},"5XX":{"description":"Server error responses.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":400},"code":{"type":"string","example":"bad_request"},"error":{"type":"string","example":"Bad Request"},"message":{"type":"string","description":"Human-readable explanation.","example":"Revision '1.4.0' exists with a different bill of materials (revision e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b)"}},"title":"errorResponse"}}}}}}
>

</StatusCodes>

