get_admin_organizations: Returns organizations for an administrator user

View source: R/get-organizations.R

get_admin_organizationsR Documentation

Returns organizations for an administrator user

Description

Returns the list of organizations for a user with an administrator role

Usage

get_admin_organizations(base_url, api_key)

Arguments

base_url

The base URL for your gitea server (no trailing '/')

api_key

The user's API token key for the gitea service

Details

This function works only in the case that the 'api_key' is associated with a user with administrator role

Examples

## Not run: 
get_admin_organizations(base_url = "https://example.gitea.service.com",
                        api_key = "b6026f861fd41a94c3389d54293de9d04bde6f7c")

## End(Not run)

ixpantia/gitear documentation built on Nov. 2, 2023, 3:12 p.m.