mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-13 05:45:41 +08:00
6 lines
241 B
Bash
Executable File
6 lines
241 B
Bash
Executable File
#!/bin/bash
|
|
source $MICROMDM_ENV_PATH
|
|
endpoint="v1/commands"
|
|
go run ./tools/api/commands/account_configuration_managed_user.go | jq --arg udid "$1" '. + {udid: $udid}' | curl $CURL_OPTS -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-
|
|
|