Delete Credentails
DELETE https://{{crosswork_ip}}:30603/crosswork/inventory/v1/credentials
Use this API Call to delete the credentails
Request Body
{"data"=>[{"profile"=>"csm", "user_pass"=>[{"user_name"=>"cw-admin", "password"=>"******", "enable_password_data"=>"", "type"=>"ROBOT_USERPASS_SSH"}]}, {"profile"=>"ubuntu", "user_pass"=>[{"user_name"=>"cw-admin", "password"=>"******", "type"=>"ROBOT_USERPASS_HTTP"}]}, {"profile"=>"ubu-89", "user_pass"=>[{"user_name"=>"cw-admin", "password"=>"******", "type"=>"ROBOT_USERPASS_HTTP"}]}, {"profile"=>"external"}, {"profile"=>"nso1", "user_pass"=>[{"user_name"=>"nso", "password"=>"******", "type"=>"ROBOT_USERPASS_NETCONF"}]}, {"profile"=>"demo", "v2_info"=>{"read_community"=>"******", "write_community"=>"******"}, "user_pass"=>[{"user_name"=>"cisco", "password"=>"******", "enable_password_data"=>"", "type"=>"ROBOT_USERPASS_SSH"}, {"user_name"=>"cisco", "password"=>"******", "enable_password_data"=>"", "type"=>"ROBOT_USERPASS_TELNET"}, {"user_name"=>"cisco", "password"=>"******", "type"=>"ROBOT_USERPASS_NETCONF"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |