{"type":"api","title":"Update Roaming Computer","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/d2a1854d5c0ed9069a7f0bc54a9b813f3075ddc9/495d3007-5769-37cd-a38a-fad9a57c7234","info":{"title":"Cisco Secure Access Roaming Computers API","version":"2.0.0","description":"Manage the roaming computers in the organization.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"Roaming Computers"},{"name":"Organization Information"},{"name":"Secure Access"}],"x-parser-conf":{"overview":{"markdownPath":"secure-access/reference/deployments/roaming-computers-overview.md","uri":"secure-access-api-reference-roaming-computers-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.sse.cisco.com/{basePath}","variables":{"basePath":{"default":"deployments/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"Client credential flow.","flows":{"clientCredentials":{"tokenUrl":"https://api.sse.cisco.com/auth/v2/token","scopes":{"deployments.roamingcomputers:write":"Write deployments roaming computers","deployments.roamingcomputers:read":"Read deployments roaming computers","deployments.roamingcomputersOrgInfo:read":"Read deployments roaming computers and OrgInfo properties"}}}}}},"spec":{"tags":["Roaming Computers","Secure Access"],"description":"Update a roaming computer in the organization.","summary":"Update Roaming Computer","operationId":"updateRoamingComputer","security":[{"oauthFlow":["deployments.roamingcomputers:write"]}],"parameters":[{"name":"deviceId","in":"path","description":"The device ID (deviceId) of the roaming computer.","schema":{"type":"string"},"required":true,"example":"AB00C7DCEC99D211","$$ref":"#/components/parameters/deviceId"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string","description":"The name of the roaming computer. `name` is a sequence of 1–50 characters.","minLength":1,"maxLength":50,"example":"roaming-computer-one","$$ref":"#/components/schemas/name"}},"type":"object","description":"Update the `name` property for the roaming computer.","required":["name"]},"example":{"name":"roaming computer test1"}}},"description":"Update the roaming computer."},"responses":{"200":{"description":"OK","headers":{"Content-Type":{"schema":{"type":"string"},"description":"The MIME content type of the response body.","example":"application/json","$$ref":"#/components/headers/Content-Type"},"Date":{"schema":{"type":"string","pattern":"^[0-90-90-90-9-0-90-9-0-90-9T0-90-9:0-90-9:0-90-9Z]+$"},"description":"The timestamp of the response.","example":"2023-03-14T18:34:25Z","$$ref":"#/components/headers/Date"}},"content":{"application/json":{"schema":{"type":"object","description":"The properties of the roaming computer.","required":["originId","name","deviceId","type","status","swgStatus","lastSyncStatus","lastSyncSwgStatus","lastSync","appliedBundle","hasIpBlocking","version","osVersion","osVersionName"],"properties":{"originId":{"type":"integer","description":"The origin ID for the roaming computer.","example":1234556},"name":{"type":"string","description":"The name of the roaming computer. `name` is a sequence of 1–50 characters.","minLength":1,"maxLength":50,"example":"roaming-computer-one","$$ref":"#/components/schemas/name"},"deviceId":{"type":"string","description":"The hex ID of the roaming computer.","example":"AB00C7DCEC99D211"},"type":{"type":"string","description":"The type of the roaming computer.","example":"anyconnect"},"status":{"type":"string","enum":["Off","Open","Transparent","Encrypted","VA","Network","Disabled","Uninstalled","TrustedCustomerNetwork","CiscoTrustedNetwork","DisabledDueToACVpnFullTunnel"],"description":"The status of the roaming computer with DNS-layer security.","example":"Encrypted"},"swgStatus":{"type":"string","enum":["Off","NA","Protected","Unprotected","Disabled","DisabledDueToVPN","DisabledDueToTrustedNetwork","ConfigError","CloudServiceUnavailable"],"description":"The status of the roaming computer with Internet security (Secure Web Gateway).","example":"Protected"},"lastSyncStatus":{"type":"string","enum":["Off","Open","Transparent","Encrypted","VA","Network","Disabled","Uninstalled","TrustedCustomerNetwork","CiscoTrustedNetwork","DisabledDueToACVpnFullTunnel"],"description":"The status of the last sync on the roaming computer with DNS-layer security.","example":"Encrypted"},"lastSyncSwgStatus":{"type":"string","enum":["NA","Protected","Unprotected","Disabled","DisabledDueToVPN","DisabledDueToTrustedNetwork","ConfigError","CloudServiceUnavailable"],"description":"The status of the last sync on the roaming computer with Internet security (Secure Web Gateway).","example":"Protected"},"lastSync":{"type":"string","format":"date-time","description":"The date and time (timestamp) of the last sync.","example":"2024-09-19T10:34:30.000Z"},"appliedBundle":{"type":"integer","description":"The policy ID.","example":0},"hasIpBlocking":{"type":"boolean","description":"Specifies whether the roaming computer has IP blocking.","example":false},"version":{"type":"string","description":"The version of the Cisco Secure Client with the Internet Security module deployed on the roaming computer.","example":"5.0"},"osVersion":{"type":"string","description":"The OS version of the roaming computer.","example":"Microsoft Windows NT 10.0.19045.0"},"osVersionName":{"type":"string","description":"The OS version name of the roaming computer.","example":"Windows 10"},"anyconnectDeviceId":{"type":"string","description":"The ID of the device that has the Cisco Secure Client deployed with the Internet Security module.","example":"6949b5cbfdc0b48ae4a58592867529480d88ef50"}},"example":{"originId":618400931,"deviceId":"AB000C044C87A4F0","type":"anyconnect","status":"Encrypted","swgStatus":"Protected","lastSyncStatus":"Encrypted","lastSyncSwgStatus":"Protected","lastSync":"2024-09-19T10:34:30.000Z","version":"5.2.3","name":"wkst2","hasIpBlocking":false,"appliedBundle":2,"osVersion":"Microsoft Windows NT 10.0.19045.0","osVersionName":"Windows 10","anyconnectDeviceId":"9e963836fef9429b66c3e47b58e496efce2b5003"},"$$ref":"#/components/schemas/RoamingComputerObject"},"example":{"originId":618400931,"deviceId":"AB000C044C87A4F0","type":"anyconnect","status":"Encrypted","swgStatus":"Protected","lastSyncStatus":"Encrypted","lastSyncSwgStatus":"Protected","lastSync":"2024-09-19T10:34:30.000Z","version":"5.2.3","name":"wkst2","hasIpBlocking":false,"appliedBundle":2,"osVersion":"Microsoft Windows NT 10.0.19045.0","osVersionName":"Windows 10","anyconnectDeviceId":"9e963836fef9429b66c3e47b58e496efce2b5003"}}}},"400":{"description":"Bad Request","headers":{"Content-Type":{"schema":{"type":"string"},"description":"The MIME content type of the response body.","example":"application/json","$$ref":"#/components/headers/Content-Type"},"Date":{"schema":{"type":"string","pattern":"^[0-90-90-90-9-0-90-9-0-90-9T0-90-9:0-90-9:0-90-9Z]+$"},"description":"The timestamp of the response.","example":"2023-03-14T18:34:25Z","$$ref":"#/components/headers/Date"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":400,"description":"HTTP status code"},"error":{"type":"string","example":"Bad Request","description":"A malformed client request."},"message":{"type":"string","description":"Detailed error message"}}}}},"$$ref":"#/components/responses/400Error"},"401":{"description":"Unauthorized","headers":{"Content-Type":{"schema":{"type":"string"},"description":"The MIME content type of the response body.","example":"application/json","$$ref":"#/components/headers/Content-Type"},"Date":{"schema":{"type":"string","pattern":"^[0-90-90-90-9-0-90-9-0-90-9T0-90-9:0-90-9:0-90-9Z]+$"},"description":"The timestamp of the response.","example":"2023-03-14T18:34:25Z","$$ref":"#/components/headers/Date"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":401,"description":"HTTP status code"},"error":{"type":"string","example":"Unauthorized","description":"A brief description of the error"},"message":{"type":"string","description":"Detailed error message"}}}}},"$$ref":"#/components/responses/401Error"},"403":{"description":"Forbidden","headers":{"Content-Type":{"schema":{"type":"string"},"description":"The MIME content type of the response body.","example":"application/json","$$ref":"#/components/headers/Content-Type"},"Date":{"schema":{"type":"string","pattern":"^[0-90-90-90-9-0-90-9-0-90-9T0-90-9:0-90-9:0-90-9Z]+$"},"description":"The timestamp of the response.","example":"2023-03-14T18:34:25Z","$$ref":"#/components/headers/Date"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":403,"description":"HTTP status code"},"error":{"type":"string","example":"Forbidden","description":"A brief description of the error"},"message":{"type":"string","description":"Detailed error message"}}}}},"$$ref":"#/components/responses/403Error"},"404":{"description":"Not Found","headers":{"Content-Type":{"schema":{"type":"string"},"description":"The MIME content type of the response body.","example":"application/json","$$ref":"#/components/headers/Content-Type"},"Date":{"schema":{"type":"string","pattern":"^[0-90-90-90-9-0-90-9-0-90-9T0-90-9:0-90-9:0-90-9Z]+$"},"description":"The timestamp of the response.","example":"2023-03-14T18:34:25Z","$$ref":"#/components/headers/Date"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":404,"description":"HTTP status code"},"error":{"type":"string","example":"Not Found","description":"A brief description of the error"},"message":{"type":"string","description":"Detailed error message"}}}}},"$$ref":"#/components/responses/404Error"},"500":{"description":"Internal Server Error","headers":{"Content-Type":{"schema":{"type":"string"},"description":"The MIME content type of the response body.","example":"application/json","$$ref":"#/components/headers/Content-Type"},"Date":{"schema":{"type":"string","pattern":"^[0-90-90-90-9-0-90-9-0-90-9T0-90-9:0-90-9:0-90-9Z]+$"},"description":"The timestamp of the response.","example":"2023-03-14T18:34:25Z","$$ref":"#/components/headers/Date"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","example":500,"description":"HTTP status code"},"error":{"type":"string","example":"Internal Server Error","description":"A brief description of the error"},"message":{"type":"string","description":"Detailed error message"}}}}},"$$ref":"#/components/responses/500Error"}},"__originalOperationId":"updateRoamingComputer","method":"put","path":"/roamingcomputers/{deviceId}"}}