ConnectCases / Client / delete_related_item
delete_related_item¶
- ConnectCases.Client.delete_related_item(**kwargs)¶
- Deletes the related item resource under a case. - Note- This API cannot be used on a FILE type related attachment. To delete this type of file, use the DeleteAttachedFile API - See also: AWS API Documentation - Request Syntax- response = client.delete_related_item( domainId='string', caseId='string', relatedItemId='string' ) - Parameters:
- domainId (string) – - [REQUIRED] - A unique identifier of the Cases domain. 
- caseId (string) – - [REQUIRED] - A unique identifier of the case. 
- relatedItemId (string) – - [REQUIRED] - A unique identifier of a related item. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- ConnectCases.Client.exceptions.InternalServerException
- ConnectCases.Client.exceptions.ResourceNotFoundException
- ConnectCases.Client.exceptions.ValidationException
- ConnectCases.Client.exceptions.ThrottlingException
- ConnectCases.Client.exceptions.AccessDeniedException