---
title: "Delete a Device Profile"
method: DELETE
path: "/deviceprofiles/{deviceProfileId}"
tags: ["Profiles"]
---

# Delete a Device Profile

`DELETE /deviceprofiles/{deviceProfileId}`

## Request

- Base URL: `https://api.smartthings.com/v1`
- URL: `https://api.smartthings.com/v1/deviceprofiles/{deviceProfileId}`
- Auth: OAuth 2
  - Implicit: `https://auth-global.api.smartthings.com`
  - Scopes: `w:deviceprofiles`
- TypeScript: <https://skmtc.dev/smartthings/apis/smartthings-api/docs/deviceprofiles/:deviceProfileId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a Device Profile by Device Profile ID.

## Response `200`

Device Profile deleted.

- DeleteDeviceProfileResponse

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too many requests
- `default`: Unexpected error

## Changes

- **2022-12-19** `adcacfc2749d`: 1 info
  - added the new optional `header` request parameter `X-ST-Organization` to all path's operations

[Operation history](https://skmtc.dev/smartthings/apis/smartthings-api/changes/deviceprofiles/:deviceProfileId/delete.md)

---

[API](https://skmtc.dev/smartthings/apis/smartthings-api.md) - [All operations](https://skmtc.dev/smartthings/apis/smartthings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartthings/apis/smartthings-api/revisions/2788a4236800?raw)
