delete_user_profile

delete_user_profile(**kwargs)

Deletes a user profile.

Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

See also: AWS API Documentation

Request Syntax

response = client.delete_user_profile(
    IamUserArn='string'
)
Parameters
IamUserArn (string) --

[REQUIRED]

The user's IAM ARN. This can also be a federated user's ARN.

Returns
None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException
  • OpsWorks.Client.exceptions.ResourceNotFoundException