{"type":"api","title":"Update CLI credentials","meta":{"id":"/apps/pubhub/media/cisco-catalyst-center-api-2-3-7-4/5f0ebf004a2d4799bf23d5900695a35a48893d24/e3488c7c-70e3-3936-bce5-55e87fc57590","info":{"title":"Intent API","description":"Cisco Catalyst Center Platform v. 2.3.7.4","version":"2.3.7.4"},"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"updateCLICredentials","tags":["Discovery"],"deprecated":false,"summary":"Update CLI credentials","description":"Updates global CLI credentials","parameters":[{"name":"Content-Type","description":"Request body content type","required":true,"schema":{"type":"string","default":"application/json"},"in":"header"}],"requestBody":{"description":"request","content":{"application/json":{"schema":{"type":"object","properties":{"comments":{"type":"string","description":""},"credentialType":{"type":"string","enum":["GLOBAL","APP"],"description":""},"description":{"type":"string","description":""},"enablePassword":{"type":"string","description":""},"id":{"type":"string","description":""},"instanceTenantId":{"type":"string","description":""},"instanceUuid":{"type":"string","description":""},"password":{"type":"string","description":""},"username":{"type":"string","description":""}},"required":["enablePassword","password","username"],"description":"","$$ref":"#/components/schemas/updateCLICredentialsRequest"}}},"required":true},"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","content":{"application/json":{"schema":{"type":"object","properties":{"response":{"type":"object","properties":{"taskId":{"type":"string","description":""},"url":{"type":"string","description":""}},"description":""},"version":{"type":"string","description":""}},"description":"","$$ref":"#/components/schemas/updateCLICredentialsResponse"}}}},"201":{"description":"The POST/PUT request was fulfilled and a new resource has been created. Information about the resource is in the response body.","content":{}},"202":{"description":"The request was accepted for processing, but the processing has not been completed.","content":{}},"204":{"description":"The request was successful, however no content was returned.","content":{}},"206":{"description":"The GET request included a Range Header, and the server responded with the partial content matching the range.","content":{}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect).","content":{}},"401":{"description":"The client's authentication credentials included with the request are missing or invalid.","content":{}},"403":{"description":"The server recognizes the authentication credentials, but the client is not authorized to perform this request.","content":{}},"404":{"description":"The client made a request for a resource that does not exist.","content":{}},"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.","content":{}},"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).","content":{}},"500":{"description":"The server could not fulfill the request.","content":{}},"501":{"description":"The server has not implemented the functionality required to fulfill the request.","content":{}},"503":{"description":"The server is (temporarily) unavailable.","content":{}},"504":{"description":"The server did not respond inside time restrictions and timed-out.","content":{}}},"x-rapi-id":"fba0-d807-47eb-82e8","x-rapi-overview":"Updates global CLI credentials","x-rapi-domain":"Operational Tasks","x-rapi-subdomain":"Discovery","x-rapi-version":"1.0.0","x-rapi-internalPath":"/api/v1/global-credential/cli","x-rapi-publicPath":"/dna/intent/api/v1/global-credential/cli","x-rapi-registerInKONG":true,"x-rapi-banner":[],"__originalOperationId":"updateCLICredentials","method":"put","path":"/dna/intent/api/v1/global-credential/cli"}}