WorkDocs.Client.
delete_labels
(**kwargs)¶Deletes the specified list of labels from a resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_labels(
ResourceId='string',
AuthenticationToken='string',
Labels=[
'string',
],
DeleteAll=True|False
)
[REQUIRED]
The ID of the resource.
List of labels to delete from the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.UnauthorizedOperationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.ServiceUnavailableException
WorkDocs.Client.exceptions.ProhibitedStateException