File: cve-user-update.1

package info (click to toggle)
cvelib 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 728 kB
  • sloc: python: 1,884; makefile: 3
file content (38 lines) | stat: -rw-r--r-- 827 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH "CVE USER UPDATE" "1" "2024-12-06" "1.7.1" "cve user update Manual"
.SH NAME
cve\-user\-update \- Update a user.
.SH SYNOPSIS
.B cve user update
[OPTIONS]
.SH DESCRIPTION
Update a user.
.PP
You must explicitly specify the user being updated using the `-u` option.
.PP
To reset a user's API key, use `cve user reset-key`.
.PP
.SH OPTIONS
.TP
\fB\-u,\fP \-\-username TEXT
Username of the user being updated (only ADMIN role users can update other users).  [required]
.TP
\fB\-\-mark\-active\fP / \-\-mark\-inactive
Mark user as active or inactive.
.TP
\fB\-\-new\-username\fP TEXT
Update username.
.TP
\fB\-\-name\-first\fP TEXT
Update first name.
.TP
\fB\-\-name\-last\fP TEXT
Update last name.
.TP
\fB\-\-add\-role\fP [ADMIN]
Add role.
.TP
\fB\-\-remove\-role\fP [ADMIN]
Remove role.
.TP
\fB\-\-raw\fP
Print response JSON.