[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Remove Password V2

Description

This API is used to delete a password based on vmid.

Request

Request

URL

URL


delete
https://localhost:8080/lcm/locker/api/v2/passwords/{vmid}
Copy

Path Parameters

Path Parameters

string
vmid Required

vmid


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns PasswordRequestResponseDTO of type(s) */*, application/json
{
    "alias": "Default Password for vCenters",
    "createdOn": 1605791587373,
    "lastUpdatedOn": 1605791587373,
    "password": "PASSWORD****",
    "passwordDescription": "This password is being used for all my vCenters",
    "userName": "administrator@vsphere.local",
    "vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
alias Optional

Password Alias


integer as int64
createdOn Optional

integer as int64
lastUpdatedOn Optional

string
password Optional

Password Value


string
passwordDescription Optional

Password Description


string
principal Optional

boolean
referenced Optional

string
transactionId Optional

string
userName Optional

Username associated with password


string
vmid Optional

204 No Content

No Content

Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X DELETE https://localhost:8080/lcm/locker/api/v2/passwords/{vmid}


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Feedback

Was this page helpful?