{"type":"api","title":"importCertificate","meta":{"id":"/apps/pubhub/media/cisco-catalyst-center-api-2-3-7-4/2236c1e9d206d19c5be5f8bd08d70eec907c761e/d2635af5-0aca-3feb-924a-2a203685c68d","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.7.4","version":"2.3.7.4","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"importCertificate","tags":["Authentication"],"summary":"importCertificate","description":"This method is used to upload a certificate","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"Content-Type","description":"Request body content type","default":"multipart/form-data","required":true,"type":"string","in":"header"},{"name":"pkPassword","description":"Private Key Passsword","required":false,"type":"string","in":"query"},{"name":"listOfUsers","description":"listOfUsers","required":false,"type":"array","in":"query","items":{"type":"string"}}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"response":{"type":"object","properties":{"taskId":{"type":"string"},"url":{"type":"string"}}},"version":{"type":"string"}},"$$ref":"#/definitions/TaskIdResult"}},"201":{"description":"The POST/PUT request was fulfilled and a new resource has been created. Information about the resource is in the response body."},"202":{"description":"The request was accepted for processing, but the processing has not been completed."},"204":{"description":"The request was successful, however no content was returned."},"206":{"description":"The GET request included a Range Header, and the server responded with the partial content matching the range."},"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."},"403":{"description":"The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"404":{"description":"The client made a request for a resource that does not exist."},"409":{"description":"The target resource is in a conflicted state (for example, an edit conflict where a resource is being edited by multiple users). Retrying the request later might succeed."},"415":{"description":"The client sent a request body in a format that the server does not support (for example, XML to a server that only accepts JSON)."},"500":{"description":"The server could not fulfill the request."},"501":{"description":"The server has not implemented the functionality required to fulfill the request."},"503":{"description":"The server is (temporarily) unavailable."},"504":{"description":"The server did not respond inside time restrictions and timed-out."}},"__originalOperationId":"importCertificate","method":"post","path":"/dna/intent/api/v1/certificate"}}