space assignment create
qlik space assignment create
Assign a user or group to a space
Synopsis
Creates an assignment for a user or group (assignee) to a space with the specified roles. Assignments are not required for space owners, who receive all assignableRoles by default. Only one assignment can exist per space, per user or group.
qlik space assignment create [flags]Options
      --assigneeId string   (Required) The userId or groupId based on the type.  -f, --file file           Read request body from the specified file  -h, --help                help for create      --interval int        Duration in seconds to wait between retries, at least 1 (default 1)  -q, --quiet               Return only IDs from the command      --raw                 Return original response from server without any processing      --retry int           Number of retries to do before failing, max 10      --roles strings       (Required) The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call ˋGET /spaces/{spaceId}ˋ and inspect the ˋmeta.assignableRolesˋ object.                            Allowed values: "consumer", "contributor", "dataconsumer", "datapreview", "facilitator", "operator", "producer", "publisher", "basicconsumer", "codeveloper"      --spaceId string      (Required) The ID of the space of the assignment.      --type string         (Required) The type of assignment such as user or group                            Allowed values: "user", "group"Options inherited from parent commands
  -c, --config string            path/to/config.yml where parameters can be set instead of on the command line      --context string           Name of the context used when connecting to Qlik Associative Engine      --headers stringToString   HTTP headers to use when connecting to Qlik Associative Engine (default [])      --insecure                 Allow connecting to hosts with self-signed certificates      --json                     Returns output in JSON format, if possible. Disables verbose and traffic output  -s, --server string            URL to Qlik Cloud or directly to a Qlik Associative Engine      --server-type string       The type of server you are using: cloud, Windows (Enterprise on Windows) or engine  -v, --verbose                  Log extra information