SageMaker / Client / delete_user_profile

delete_user_profile#

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

Request Syntax

response = client.delete_user_profile(
    DomainId='string',
    UserProfileName='string'
)
Parameters:
  • DomainId (string) –

    [REQUIRED]

    The domain ID.

  • UserProfileName (string) –

    [REQUIRED]

    The user profile name.

Returns:

None

Exceptions

  • SageMaker.Client.exceptions.ResourceInUse

  • SageMaker.Client.exceptions.ResourceNotFound