Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

POST method for DeviceService.AddCredentialToDevice

Description
Adds credential information to the device(s) in conjunction with onboarding jobs requested through the Devices screen on the GUI or individually when called via REST API.
Privilege
JOB_MANAGEMENT
HTTP response codes
204
Example request body
 
{
"DeviceId": [
10349
],
"CredentialProfile": {
"CredentialProfileId": 0,
"CredentialProfile": "{\"profileName\":\"\",\"profileDescription\":\"\",\"type\":\"MANAGEMENT\",\"credentials\":[{\"id\":0,\"type\":\"WSMAN\",\"authType\":\"Basic\",\"modified\":false,\"credentials\": {\"username\":\"root\",\"password\":\"dell_123\",\"caCheck\":false,\"cnCheck\":false,\"port\":443,\"retries\":3,\"timeout\":60,\"isHttp\":false,\"keepAlive\":false}}]}",
"ProfileType": "2"
}
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\