Transfer.Client.
delete_user
(**kwargs)¶Deletes the user belonging to a file transfer protocol-enabled server you specify.
No response returns from this operation.
Note
When you delete a user from a server, the user's information is lost.
See also: AWS API Documentation
Request Syntax
response = client.delete_user(
ServerId='string',
UserName='string'
)
[REQUIRED]
A system-assigned unique identifier for a server instance that has the user assigned to it.
[REQUIRED]
A unique string that identifies a user that is being deleted from a server.
None
Exceptions
Transfer.Client.exceptions.ServiceUnavailableException
Transfer.Client.exceptions.InternalServiceError
Transfer.Client.exceptions.InvalidRequestException
Transfer.Client.exceptions.ResourceNotFoundException