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.EntityNotExistsExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableExceptionWorkDocs.Client.exceptions.ProhibitedStateException