X-Warpgate-Token: ********************warpgate-http-session: ********************{
"name": "string",
"description": "string",
"options": {
"kind": "Ssh",
"host": "string",
"port": 0,
"username": "string",
"allow_insecure_algos": true,
"auth": {
"kind": "Password",
"password": "string"
}
},
"rate_limit_bytes_per_second": 0
}curl --location --request POST '/targets' \
--header 'X-Warpgate-Token: <api-key>' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"name": "string",
"description": "string",
"options": {
"kind": "Ssh",
"host": "string",
"port": 0,
"username": "string",
"allow_insecure_algos": true,
"auth": {
"kind": "Password",
"password": "string"
}
},
"rate_limit_bytes_per_second": 0
}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"allow_roles": [
"string"
],
"options": {
"kind": "Ssh",
"host": "string",
"port": 0,
"username": "string",
"allow_insecure_algos": true,
"auth": {
"kind": "Password",
"password": "string"
}
},
"rate_limit_bytes_per_second": 0
}