v1

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

Creates a provisioning template.

Requires permission to access the CreateProvisioningTemplate action.

post/provisioning-templates

Request body

templateNamestring required

The name of the provisioning template.

descriptionstring

The description of the provisioning template.

templateBodystring required

The JSON formatted contents of the provisioning template.

enabledboolean

True to enable the provisioning template, otherwise false.

provisioningRoleArnstring required

The role ARN for the role associated with the provisioning template. This IoT role grants permission to provision a device.

type'FLEET_PROVISIONING' | 'JITP'

The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is <code>FLEET_PROVISIONING</code>. For more information about provisioning template, see: <a href="https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html">Provisioning template</a>.

Response

Success

templateArnstring

The ARN that identifies the provisioning template.

templateNamestring

The name of the provisioning template.

defaultVersionIdinteger

The default version of the provisioning template.