下载主题的特定模板文件
下载适用于您 Verify 租户的特定主题模板文件。
准备工作
关于此任务
下载特定的主题文件,以自定义您租户中的特定 Verify 模板。
过程
使用以下命令下载主题的特定文件。
curl -X GET -H "Authorization: Bearer <access_token>" <https://<tenant>/v1.0/branding/themes/<themeID>/<templatePath>> > <specific_template_filename.html>其中:- <access_token>
- 您在 “管理主题 ”中收到的访问令牌的值。
- <tenant>
- 分配给您 Verify 订阅的完全合格域名。
- <themeID>
- <templatePath>
- 压缩主题文件中的特定模板文件的目录路径和文件名,例如, authentication/saml/error/default/routing_error.html。
- <specific_template_filename.html>
- 使用特定模板文件的内容在系统上创建的文件的文件名。
结果
主题的特定模板文件将返回到当前目录。
示例
要在 companyAppTest.verify.ibm.com 租户上为主题标识 bb828385-e11c-4041-8474-eb95bdc2a35c 下载名为 routing_error.html 的特定模板文件,请发出以下命令:
curl -X GET -H "Authorization: Bearer m1KhswVeQy84CF4sAki88phTkpmnYtaDzWi26ASX" -H "Accept: application/octet-stream" https://companyAppTest.verify.ibm.com/v1.0/branding/themes/bb828385-e11c-4041-8474-eb95bdc2a35c/authentication/saml/error/default/routing_error.html > routing_error.html