Update client-api.md
This commit is contained in:
+3
-3
@@ -5,7 +5,7 @@ credentials.
|
||||
|
||||
## Exchange a deployment code
|
||||
|
||||
`POST https://tapm.scity.us/api/v1/exchange`
|
||||
`POST https://tapm.example.com/api/v1/exchange`
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -29,7 +29,7 @@ Successful response:
|
||||
"display_name": "SentinelOne Linux Agent",
|
||||
"version": "26.1.1.31",
|
||||
"sha256": "64-lowercase-hexadecimal-characters",
|
||||
"download_url": "https://tapm.scity.us/api/v1/packages/sentinelone-linux"
|
||||
"download_url": "https://tapm.example.com/api/v1/packages/sentinelone-linux"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
@@ -66,7 +66,7 @@ Send the session from the exchange:
|
||||
curl --fail --location \
|
||||
--header "Authorization: Bearer SESSION_TOKEN" \
|
||||
--output /tmp/package.deb \
|
||||
'https://tapm.scity.us/api/v1/packages/sentinelone-linux'
|
||||
'https://tapm.example.com/api/v1/packages/sentinelone-linux'
|
||||
```
|
||||
|
||||
The client must calculate SHA-256 after download and compare it to the value
|
||||
|
||||
Reference in New Issue
Block a user