Tableau Server Client (TSC)
中workbooks.delete
的用法。
用法
workbooks.delete(workbook_id)
删除具有指定 ID 的工作簿。
要指定站点,请使用站点的内容 URL (site_id
) 创建一个 TableauAuth
实例,然后登录该站点。请参阅 TableauAuth class 。
REST API:Delete Workbook
参数
名字 | 说明 |
---|---|
workbook_id |
要删除的工作簿的 ID。 |
异常
错误 | 说明 |
---|---|
Workbook ID undefined. |
如果项目项没有 ID,则引发异常。项目 ID 作为 URI 的一部分发送到服务器。 |
示例
# import tableauserverclient as TSC
# server = TSC.Server('https://MY-SERVER')
# tableau_auth sign in, etc.
server.workbooks.delete('1a1b1c1d-2e2f-2a2b-3c3d-3e3f4a4b4c4d')
相关用法
- Python Tableau workbooks.download用法及代码示例
- Python Tableau workbooks.populate_preview_image用法及代码示例
- Python Tableau workbooks.get_by_id用法及代码示例
- Python Tableau workbooks.update用法及代码示例
- Python Tableau workbooks.update_connection用法及代码示例
- Python Tableau workbooks.populate_views用法及代码示例
- Python Tableau workbooks.get用法及代码示例
- Python Tableau workbooks.publish用法及代码示例
- Python Tableau workbooks.refresh用法及代码示例
- Python Tableau workbooks.populate_connections用法及代码示例
- Python Tableau workbooks.populate_pdf用法及代码示例
- Python wsgiref.simple_server.make_server用法及代码示例
- Python wsgiref.util.FileWrapper用法及代码示例
- Python wsgiref.util.setup_testing_defaults用法及代码示例
- Python OpenCV waitKeyEx()用法及代码示例
- Python winsound.SND_ALIAS用法及代码示例
- Python weakref.WeakMethod用法及代码示例
- Python wsgiref.validate.validator用法及代码示例
- Python OpenCV waitKey()用法及代码示例
- Python cudf.core.column.string.StringMethods.is_vowel用法及代码示例
- Python torch.distributed.rpc.rpc_async用法及代码示例
- Python torch.nn.InstanceNorm3d用法及代码示例
- Python sklearn.cluster.MiniBatchKMeans用法及代码示例
- Python pandas.arrays.IntervalArray.is_empty用法及代码示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代码示例
注:本文由纯净天空筛选整理自tableau.github.io大神的英文原创作品 workbooks.delete。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。