2 個答案
- 最新
- 最多得票
- 最多評論
0
Hi, there's quite a few AWS APIs that have a DeleteUser action - which one are you asking about?
0
As documented in https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iam.html#IAM.Client.delete_user, delete_user() doesn't have a "responseElements" field. It's documented as "Returns: None" which means the response is a dictionary containing a ResponseMetadata dictionary and possibly an Error dictionary. The response won't contain a userId field.
boto3 IAM delete_user