ptkl users
Invite and remove project users from the command line.
Overview
ptkl users manages human user accounts on your project. Use it to invite new users by email
and assign them roles, or remove users who should no longer have access.
Subcommands
| Subcommand | Description |
|---|---|
invite |
Invite a user to the project |
delete |
Remove a user from the project |
ptkl users invite
Send an invitation to a user by email and assign one or more roles.
Options
| Option | Description |
|---|---|
-e, --email <email> |
Email address of the user to invite |
-r, --roles <roles...> |
One or more role UUIDs to assign to the invited user |
Example
The user receives an email invitation and gains access to the project with the specified roles upon accepting.
ptkl users delete
Remove a user from the project by UUID.
Options
| Option | Description |
|---|---|
-u, --uuid <uuid> |
UUID of the user to remove |
Example
Warning
Removing a user immediately revokes their access to the project. This action cannot be undone — the user must be re-invited to regain access.
See Also
ptkl role— create and manage roles before assigning themptkl api-users— manage service accounts for machine-to-machine access- Toolkit Overview — all available toolkit commands