Capabilities
Delete a Capability by ID and Version
Changed onDelete a Capability with a given ID and version.
The Capability must be in proposed status. Once a Capability is updated to live status, it cannot be deleted and must be transitioned to deprecated.
delete/capabilities/{capabilityId}/{capabilityVersion}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesw:customcapability, r:customcapability
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-ST-Organizationstring ^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$
Organization id. If not provided, default user organization will be used.
Response
Capability Deleted
Delete Namespace Response required
Changes
- info
the security scope
r:customcapabilitywas added to the endpoint's security schemeBearer - info
added the new optional
headerrequest parameterX-ST-Organization
- info