Skip to content

project member

project member add-group

project member add-group <PROJECT_NAME_OR_ID> <LDAP_GROUP_DN_OR_ID> <ROLE>

Add a group as a member of a project.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

LDAP_GROUP_DN_OR_ID
LDAP Group DN or ID of the group to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

ROLE
The type of role to give the user.
Type: choice
Choices: admin, developer, guest, maintainer, limited_guest
Required:


project member add-user

project member add-user <PROJECT_NAME_OR_ID> <USERNAME_OR_ID> <ROLE>

Add a user as a member of a project.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

USERNAME_OR_ID
Username or ID of the user to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

ROLE
The type of role to give the user.
Type: choice
Choices: admin, developer, guest, maintainer, limited_guest
Required:


project member get

project member get <PROJECT_NAME_OR_ID> <MEMBER_ID>

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

MEMBER_ID
The ID of the member to get.
Type: integer
Required:


project member list

project member list <PROJECT_NAME_OR_ID> [OPTIONS]

List all members of a project.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

Options

--entity <ENTITY_NAME>
Entity name to search for.
Type: text

--page <PAGE>
(Advanced) Page to begin fetching from.
Type: integer
Default: 1

--page-size <PAGE_SIZE>
(Advanced) Results to fetch per API call.
Type: integer
Default: 10

--limit <LIMIT>
Maximum number of results to fetch.
Type: integer


project member remove

project member remove <PROJECT_NAME_OR_ID> <USERNAME_OR_ID>

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

USERNAME_OR_ID
Username or ID of the user to use. Prefix with 'id:' to specify an ID.
Type: text
Required:


project member update-role

project member update-role <PROJECT_NAME_OR_ID> <USERNAME_OR_ID> <ROLE>

Add a user as a member of a project.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

USERNAME_OR_ID
Username or ID of the user to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

ROLE
The type of role to give the user.
Type: choice
Choices: admin, developer, guest, maintainer, limited_guest
Required: