get_admin_organizations: Returns organizations for an administrator user

Description Usage Arguments Details Examples

View source: R/get-organizations.R

Description

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

Usage

1
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

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

## End(Not run)

gitear documentation built on Jan. 13, 2021, 9:44 p.m.