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

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

if (FALSE) { get_admin_organizations(base_url = "https://example.gitea.service.com", api_key = "b6026f861fd41a94c3389d54293de9d04bde6f7c") }