fleet/tools/api/fleet/me

4 lines
141 B
Bash
Executable file

#!/bin/bash
source $FLEET_ENV_PATH
endpoint="api/latest/fleet/me"
curl $CURL_FLAGS -H "Authorization: Bearer $TOKEN" "$SERVER_URL/$endpoint"