get_admin_organizations {gitear}R 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)

[Package gitear version 1.0.0 Index]