v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Deprecates a thing type. You can not associate new things with deprecated thing type.

Requires permission to access the DeprecateThingType action.

post/thing-types/{thingTypeName}/deprecate

Path parameters

thingTypeNamestring required

The name of the thing type to deprecate.

Request body

undoDeprecateboolean

Whether to undeprecate a deprecated thing type. If <b>true</b>, the thing type will not be deprecated anymore and you can associate it with things.

Response

Success

DeprecateThingTypeResponse required

The output for the DeprecateThingType operation.