dcnm login - gather token
POST https://{{dcnm}}/rest/logon
Used to gather the DCNM token for API operations. Authenticates using encoding of the username and password defined within the ENV. The returned key is added to an ENV var for use by every other DCNM API call using a JS test. Timeout value is excessively long for testing purposes and is defined in milliseconds
Request Body
{"expirationTime"=>90000000}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |