Creating JSON templates with tctl commands
JSON templates are JSOM files that have the request body to run tctl commands. By using these templates, you can avoid parsing errors while running the tctl commands. As an administrator, you can update the JSON template with the actual values when you want to run the tctl commands.
To register a service without metadata and configuration settings
Use the following command:
tctl template register-service
To register a service with metadata and without configuration settings
Use the following command:
tctl template register-service-metadata
To register a service with metadata and configuration settings
Use the following command:
tctl template register-service-all
To onboard a tenant
Use the following command:
tctl template create-tenant
To update a tenant
Use the following command:
tctl template update-tenant
To update a service
Use the following command:
tctl template update-service
To update a tenant service
Use the following command:
tctl template update-tenant-service
To activate a tenant service for a licensed tenant
Use the following command:
tctl template activate-service
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*