DeleteUser
Deletes the specified IAM user.
You must delete the items (for example, access keys, policies) that are attached to the user manually before you delete the user.
Request Parameters
For information about the parameters that are common to all actions, See Common Parameters.
UserName
The name of the user to delete.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern: [\w+=,.@-]+
Required: Yes
Errors
For information about the errors that are common to all actions, See Common Error Codes.
DeleteConflict
The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.
HTTP Status Code: 409
NoSuchEntity
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
HTTP Status Code: 404
ServiceFailure
The request processing has failed because of an unknown error, exception, or failure.
HTTP Status Code: 500
Examples
Sample Request:
https://msdps3.veritas.com:8443/?Action=DeleteUser &UserName=User1 &Version=2010-05-08 &AUTHPARAMS
Sample Response:
<?xml version="1.0" encoding="UTF-8"?>
<GetUserResponse
xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<ResponseMetadata>
<RequestId>1648214899748730966</RequestId>
</ResponseMetadata>
</DeleteUserResponse>