c8y(1)
๐ c8y-devicegroups-children-assign โ Assign child ๐
okay so bestie, this is the c8y(1) manual page for the command that assigns a child to an existing managed object. Group-chat voice, all facts intact, no cap ๐
๐ธ NAME ๐ธ
c8y-devicegroups-children-assign โ Assign child
โจ SYNOPSIS โจ
c8y devicegroups children assign [flags]
๐ฆ DESCRIPTION ๐ฆ
Assign an existing managed object as a child to an existing managed object. That's the whole assignment vibe: one existing managed object becomes the child of another existing managed object.
๐ OPTIONS ๐
--child=""โ the managed object that will be assigned as a child. Required. It accepts pipeline input ๐ซถ--childType=""โ the child relationship type. Required.-h,--help[=false]โ help forassign.--id=[]โ the managed object id where the child will be assigned to. Required.--processingMode=""โ Cumulocity processing mode.
๐งฌ OPTIONS INHERITED FROM PARENT COMMANDS ๐งฌ
--abortOnErrors=10โ abort the batch when reaching the specified number of errors.--allowEmptyPipe[=false]โ don't fail when piped input is empty (stdin).--cache[=false]โ enable cached responses.--cacheBodyPaths=[]โ cache should limit hashing of selected paths in the json body. Empty indicates all values.--cacheTTL="60s"โ cache time-to-live (TTL) as a duration, i.e.60s,2m.-c,--compact[=false]โ compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal.--confirm[=false]โ prompt for confirmation.--confirmText=""โ custom confirmation text.--currentPage=0โ current page which should be returned.--customQueryParam=[]โ add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'.--debug[=false]โ set very verbose log messages.--delay="0ms"โ delay after each request, i.e.5ms,1.2s.--delayBefore="0ms"โ delay before each request, i.e.5ms,1.2s.--dry[=false]โ dry run. Don't send any data to the server.--dryFormat="markdown"โ dry run output format. i.e.json,dump,markdownorcurl.--examples[=false]โ show examples for the current command.--filter=[]โ apply a client side filter to response before returning it to the user.--flatten[=false]โ flatten json output by replacing nested json properties with properties where their names are represented by dot notation.-f,--force[=false]โ do not prompt for confirmation. Ignored when using--confirm.-H,--header=[]โ custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue".--includeAll[=false]โ include all results by iterating through each page.-k,--insecure[=false]โ allow insecure server connections when using SSL.-l,--logMessage=""โ add custom message to the activity log.--maxJobs=0โ maximum number of jobs.0= unlimited (use with caution!).--noAccept[=false]โ ignore Accept header; will remove the Accept header from requests, however PUT and POST requests will only see the effect.--noCache[=false]โ force disabling of cached responses (overwrites cache setting).-M,--noColor[=false]โ don't use colors when displaying log entries on the console.--noLog[=false]โ disables the activity log for the current command.--noProgress[=false]โ disable progress bars.--noProxy[=false]โ ignore the proxy settings.-n,--nullInput[=false]โ don't read the input (stdin). Useful if using in shellfor/whileloops.-o,--output="table"โ output format i.e.table,json,csv,csvheader.--outputFile=""โ save JSON output to file (after select/view).--outputFileRaw=""โ save raw response to file (before select/view).--outputTemplate=""โ jsonnet template to apply to the output.-p,--pageSize=5โ maximum results per page.--progress[=false]โ show progress bar. This will also disable any other verbose output.--proxy=""โ proxy setting, i.e.http://10.0.0.1:8080.-r,--raw[=false]โ show raw response. This mode will forceoutput=jsonandview=off.--retries=3โ max number of attempts when a failed http call is encountered.--select=[]โ comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'.--session=""โ session configuration.--sessionMode=""โ override default session mode for a single command which would normally be disabled.-P,--sessionPassword=""โ override session password.-U,--sessionUsername=""โ override session username. i.e.peterort1234/peter(with tenant).--silentExit[=false]โ silent status codes do not affect the exit code.--silentStatusCodes=""โ status codes which will not print out an error message.--timeout="600s"โ request timeout duration, i.e.60s,2m.--totalPages=0โ total number of pages to get.-v,--verbose[=false]โ verbose logging.--view="auto"โ use views when displaying data on the terminal. Disable using--view off.--withError[=false]โ errors will be printed on stdout instead of stderr.--withTotalElements[=false]โ request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13).-t,--withTotalPages[=false]โ request Cumulocity to include the total pages in the response statistics under.statistics.totalPages.--workers=1โ number of workers.
๐ EXAMPLE ๐
$ c8y devicegroups children assign --id 12345 --child 6789 --childType addition
Add a related managed object as a child to an existing managed object
๐ฎ SEE ALSO ๐ฎ
๐ source/version: c8y(1); date: Jan 1980 โ mwah, bestie, that's the whole page! ๐โจ
๐ฆ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms