{"type":"api","title":"Assign Device Credential To Site","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"assignDeviceCredentialToSite_","tags":["Network Settings"],"summary":"Assign Device Credential To Site.","description":"Assign Device Credential to a site.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"cliId":{"type":"string"},"snmpV2ReadId":{"type":"string"},"snmpV2WriteId":{"type":"string"},"httpRead":{"type":"string"},"httpWrite":{"type":"string"},"snmpV3Id":{"type":"string"}},"$$ref":"#/definitions/AssignDeviceCredentialToSiteRequest"},"in":"body"},{"name":"__persistbapioutput","description":"Persist bapi sync response","default":"true","required":true,"type":"string","in":"header"},{"name":"siteId","description":"site id to assign credential.","default":"","required":true,"type":"string","in":"path"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"executionId":{"type":"string"},"executionStatusUrl":{"type":"string"},"message":{"type":"string"}},"$$ref":"#/definitions/AssignDeviceCredentialToSiteResponse"}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect)."},"401":{"description":"The client's authentication credentials included with the request are missing or invalid."},"404":{"description":"The client made a request for a resource that does not exist."},"500":{"description":"The server could not fulfill the request."}},"__originalOperationId":"assignDeviceCredentialToSite.","method":"post","path":"/dna/intent/api/v1/credential-to-site/{siteId}"}}