DELETE /storedCredentials/<id>

Use this method to remove a specific stored credential.

Note:
  • You cannot delete a stored credential that is associated with one or more managed devices.

  • This API requires Lenovo XClarity Administrator v1.4.0 or later.

Authentication

Authentication with user name and password is required.

Request URL

DELETE https://<management_server_IP>/storedCredentials/<id>

where <id> is the ID of the stored credential. To obtain stored credential ID, use GET /storedCredentials.

Query parameters

None

Request body

None

Response codes

Code Description Comments
200 OK The request completed successfully.
400 Bad Request A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
404 Not found A specified resource cannot be found. A descriptive error message is returned in the response body.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

Response body

None