DeleteLoginProfile

Last Updated: Nov 10, 2017

Interface description

Disables web console login mode for an RAM user.

Request parameters

Action

  • Type: String
  • Required: Yes
  • Description: Required system parameter. The parameter value is “DeleteLoginProfile”.

UserName

  • Type: String
  • Required: Yes
  • Description: User name.Example: zhangqiang

Return parameters

Only public parameters are returned. For details, see Public return parameters.

Required permissions

Action

ram:DeleteLoginProfile

Resource

acs:ram:*:${AccountId}:user/${UserName}

Error messages

InvalidParameter.UserName.InvalidChars
  • HTTP Status: 400
  • Error Message: The parameter - “UserName” contains invalid chars.
InvalidParameter.UserName.Length
  • HTTP Status: 400
  • Error Message: The parameter - “UserName” beyond the length limit.
EntityNotExist.User
  • HTTP Status: 404
  • Error Message: The user does not exist.
EntityNotExist.User.LoginProfile
  • HTTP Status: 404
  • Error Message: The user login profile does not exist.

Operation examples

Request example

  1. https://ram.aliyuncs.com/?Action=DeleteLoginProfile
  2. &UserName=zhangqiang
  3. &<Public request parameters>

Return example

XML format

  1. <DeleteLoginProfileResponse>
  2. <RequestId>1C488B66-B819-4D14-8711-C4EAAA13AC01</RequestId>
  3. </DeleteLoginProfileResponse>

JSON format

  1. {
  2. "RequestId": "1C488B66-B819-4D14-8711-C4EAAA13AC01"
  3. }
Thank you! We've received your feedback.