:doc:`SageMaker <../../sagemaker>` / Client / delete_user_profile

*******************
delete_user_profile
*******************



.. py:method:: SageMaker.Client.delete_user_profile(**kwargs)

  

  Deletes a user profile. When a user profile is deleted, the user loses access to their EFS volume, including data, notebooks, and other artifacts.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile>`_  


  **Request Syntax**
  ::

    response = client.delete_user_profile(
        DomainId='string',
        UserProfileName='string'
    )
    
  :type DomainId: string
  :param DomainId: **[REQUIRED]** 

    The domain ID.

    

  
  :type UserProfileName: string
  :param UserProfileName: **[REQUIRED]** 

    The user profile name.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceInUse`

  