add_user_to_repo: Add a user as a collaborator to an ixplorer repository.

View source: R/create_users.R

add_user_to_repoR Documentation

Add a user as a collaborator to an ixplorer repository.

Description

This function adds a user as a collaborator to a specific repository on ixplorer with specific permissions.

Usage

add_user_to_repo(
  base_url,
  api_key,
  owner,
  repo,
  username,
  collaborator_permissions
)

Arguments

base_url

The base URL of the ixplorer server.

api_key

The API key for authentication on the ixplorer server.

owner

The owner (organization or user) of the repository where the user will be added as a collaborator.

repo

The name of the repository where the user will be added as a collaborator.

username

The username of the user to be added as a collaborator.

collaborator_permissions

The permissions to be assigned to the collaborator ("Read", "Write", or "Admin").

Value

The response from the ixplorer server.


ixpantia/ixplorer documentation built on Jan. 3, 2024, 7:59 p.m.