This topic describes how to unshare a template in the Resource Orchestration Service (ROS) console.
Prerequisites
A template is shared. For more information, see Share a template with Alibaba Cloud accounts.
Procedure
Log on to the ROS console.
In the left-side navigation pane, choose Templates > My Templates.
On the My Templates page, find the template that you want to unshare and click the template ID.
In the Template Details section, click Edit on the right of the Sharing Status parameter.
In the Template Sharing Status dialog box, unshare the template.
To unshare the template with a single destination account, find the destination account and click Remove Share in the Actions column.
To unshare the template with multiple destination accounts, select the destination accounts and click Remove Share.
In the message that appears, click OK.
After you unshare the template with the destination accounts, you cannot view the template on the Shared Templates page or use the template to create stacks when you log on to the ROS console by using destination accounts.