ConnectCases / Client / delete_layout
delete_layout#
- ConnectCases.Client.delete_layout(**kwargs)#
- Deletes a layout from a cases template. You can delete up to 100 layouts per domain. - `` <p>After a layout is deleted:</p> <ul> <li> <p>You can still retrieve the layout by calling <code>GetLayout</code>.</p> </li> <li> <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p> </li> </ul>`` - See also: AWS API Documentation - Request Syntax- response = client.delete_layout( domainId='string', layoutId='string' ) - Parameters:
- domainId (string) – - [REQUIRED] - The unique identifier of the Cases domain. 
- layoutId (string) – - [REQUIRED] - The unique identifier of the layout. 
 
- 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
- ConnectCases.Client.exceptions.ConflictException