v1

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

Updates the data for a thing.

Requires permission to access the UpdateThing action.

patch/things/{thingName}

Path parameters

thingNamestring required
<p>The name of the thing to update.</p> <p>You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.</p>

Request body

thingTypeNamestring

The name of the thing type.

expectedVersioninteger

The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the <code>UpdateThing</code> request is rejected with a <code>VersionConflictException</code>.

removeThingTypeboolean

Remove a thing type association. If <b>true</b>, the association is removed.

Response

Success

UpdateThingResponse required

The output from the UpdateThing operation.