Send a PUT request to any API path
Sends a PUT request to a path relative to the API base URL, which already ends in /v1, with the same authentication and error handling as the resource commands. Transient failures are retried only when you set –idempotency-key. A literal {orgId} in the path is replaced by the Organization your credentials are bound to.
tmh put <path> [flags]
tmh put /organizations/{orgId}/learners/by-external-id/hr-123 -d email=ana@example.com --idempotency-key sync-hr-123
--content-type string Content-Type of the body (default "application/json")
-d, --data stringArray body field as key=value (dotted keys nest, key[]=v appends, key:=<json> sends JSON), or the whole body as @file, @- for stdin, or a JSON document; repeatable
-h, --help help for put
--if-match string send If-Match with this ETag, for a conditional write
--no-auth send no Access token, even when logged in; public operations such as /courses never get one
--query stringArray query parameter as key=value; repeatable
--idempotency-key string Idempotency-Key for the write, instead of a generated one
--live use the "live" profile
--max-retries int times to retry a transient failure of a request that is safe to replay (default 2)
--profile string profile to use: "sandbox" (default) or "live"
--show-headers print each HTTP response's status and headers to stderr
--verbose print method, path, status, latency and request id of each HTTP attempt to stderr