MCPcopy Index your code
hub / github.com/dropbox/dropbox-sdk-python / file_properties_properties_remove

Method file_properties_properties_remove

dropbox/base.py:285–318  ·  view source on GitHub ↗

Permanently removes the specified property group from the file. To remove specific property field key value pairs, see :meth:`file_properties_properties_update`. To update a template, see :meth:`file_properties_templates_update_for_user` or :meth:`file_proper

(self,
                                          path,
                                          property_template_ids)

Source from the content-addressed store, hash-verified

283 return None
284
285 def file_properties_properties_remove(self,
286 path,
287 property_template_ids):
288 """
289 Permanently removes the specified property group from the file. To
290 remove specific property field key value pairs, see
291 :meth:`file_properties_properties_update`. To update a template, see
292 :meth:`file_properties_templates_update_for_user` or
293 :meth:`file_properties_templates_update_for_team`. To remove a template,
294 see :meth:`file_properties_templates_remove_for_user` or
295 :meth:`file_properties_templates_remove_for_team`.
296
297 Route attributes:
298 scope: files.metadata.write
299
300 :param str path: A unique identifier for the file or folder.
301 :param List[str] property_template_ids: A list of identifiers for a
302 template created by :meth:`file_properties_templates_add_for_user`
303 or :meth:`file_properties_templates_add_for_team`.
304 :rtype: None
305 :raises: :class:`.exceptions.ApiError`
306
307 If this raises, ApiError will contain:
308 :class:`dropbox.file_properties.RemovePropertiesError`
309 """
310 arg = file_properties.RemovePropertiesArg(path,
311 property_template_ids)
312 r = self.request(
313 file_properties.properties_remove,
314 'file_properties',
315 arg,
316 None,
317 )
318 return None
319
320 def file_properties_properties_search(self,
321 queries,

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected