https://{{dnac}}:{{port}}/api/v1/pnp-project/{{projectId}}/device

POST https://{{dnac}}:{{port}}/api/v1/pnp-project/{{projectId}}/device

Creates a rule for a device in a project.

uses the projectId from the project we created earlier

Request Body

[{"serialNumber"=>"12345678901", "platformId"=>"C2960X", "hostName"=>"syd-sw1", "pkiEnabled"=>true}]

HEADERS

KeyDatatypeRequiredDescription
x-auth-tokenstring
Content-typestring