Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

OpenManage Enterprise Version 3.4 and OpenManage Enterprise - Modular Edition Version 1.20.00 RESTful API Guide

PDF

POST method for DeviceService.AddCredentialToDevice

Description
Adds the credential information of devices when an onboarding job is initiated.
Privilege
JOB_MANAGEMENT
HTTP response codes
204
Example request body
 
{
	"DeviceId": [11199],
	"CredentialProfile": {
		"CredentialProfileId": 0,
		"CredentialProfile": "{\"profileName\":\"\",\"profileDescription\":\"\",
\"type\":\"MANAGEMENT\",\"credentials\":[{\"id\":0,\"type\":\"WSMAN\",
\"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username\":\"asdf\",
\"password\":\"sdf\",\"caCheck\":false,\"cnCheck\":false,\"port\":443,\"retries\":3,
\"timeout\":60,\"isHttp\":false,\"keepAlive\":false}},{\"id\":0,\"type\":\"REDFISH\",
"authType\":\"Basic\",\"modified\":false,\"credentials\":{\"username\":\"asdf\",
\"password\":\"sdf\",\"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: <>()\