{"type":"api","title":"Create Global Credentials V2","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":"createGlobalCredentialsV2","tags":["Discovery"],"summary":"Create Global Credentials V2","description":"API to create new global credentials. Multiple credentials of various types can be passed at once. Please refer sample Request Body for more information.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"request","description":"request","required":true,"schema":{"type":"object","properties":{"cliCredential":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"enablePassword":{"type":"string"}}}},"snmpV2cRead":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"readCommunity":{"type":"string"}}}},"snmpV2cWrite":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"writeCommunity":{"type":"string"}}}},"snmpV3":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"username":{"type":"string"},"privacyType":{"type":"string"},"privacyPassword":{"type":"string"},"authType":{"type":"string"},"authPassword":{"type":"string"},"snmpMode":{"type":"string"}}}},"httpsRead":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"port":{"type":"integer"}}}},"httpsWrite":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"port":{"type":"integer"}}}}},"$$ref":"#/definitions/CreateGlobalCredentialsVRequest"},"in":"body"}],"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/CreateGlobalCredentialsVResponse"}},"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":"createGlobalCredentialsV2","method":"post","path":"/dna/intent/api/v2/global-credential"}}