Gitea Organization API is one of 13 APIs that Gitea publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 32 JSON Schema definitions.
Tagged areas include Organization. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, code examples, and 32 JSON Schemas.
This API exposes
83 operations
across 46 paths,
and defines 56 schemas.
It is described by OpenAPI 3.2.0, at version 29.0.0+dev-153-gba4f8fa246.
Requests are made against a single base URL, /api/v1.
83 operations46 paths56 schemas17 DELETE37 GET7 PATCH16 POST6 PUT
Metadata
The identity and technical contract details declared by the specification.
Specification
OpenAPI 3.2.0
API Version
29.0.0+dev-153-gba4f8fa246
Base URL
https://gitea.com/api/v1
Authentication
API Key, API Key, HTTP Basic, API Key, API Key, API Key, API Key
Gitea Organization API declares
7 security schemes
for authenticating requests.
An API key is passed in the query as access_token (AccessToken).
An API key is passed in the header as Authorization (AuthorizationHeaderToken).
It accepts HTTP basic authentication (BasicAuth).
An API key is passed in the header as Sudo (SudoHeader).
An API key is passed in the query as sudo (SudoParam).
An API key is passed in the header as X-GITEA-OTP (TOTPHeader).
An API key is passed in the query as token (Token).
By default, every request must be authenticated.
AccessToken — This authentication option is deprecated for removal in Gitea 1.23. Please use AuthorizationHeaderToken instead.
AuthorizationHeaderToken — API tokens must be prepended with "token" followed by a space.
SudoHeader — Sudo API request as the user provided as the key. Admin privileges are required.
SudoParam — Sudo API request as the user provided as the key. Admin privileges are required.
TOTPHeader — Must be used in combination with BasicAuth if two-factor authentication is enabled.
Token — This authentication option is deprecated for removal in Gitea 1.23. Please use AuthorizationHeaderToken instead.
Paths & Operations 83
Across 46 paths, the API surfaces 83 operations — 17 DELETE, 37 GET, 7 PATCH, 16 POST, 6 PUT. Each is listed below with its method, path, parameters, and response codes.
Organization 83
Organizations and teams
POST
/org/{org}/reposdeprecated
Create a repository in an organization
createOrgRepoDeprecated1 parambody→ 201403404422
GET
/orgs
Get list of organizations
orgGetAll2 params→ 200
POST
/orgs
Create an organization
orgCreatebody→ 201403422
GET
/orgs/{org}
Get an organization
orgGet1 param→ 200404
DELETE
/orgs/{org}
Delete an organization
orgDelete1 param→ 204404
PATCH
/orgs/{org}
Edit an organization
orgEdit1 parambody→ 200404
GET
/orgs/{org}/actions/jobs
Get org-level workflow jobs
getOrgWorkflowJobs4 params→ 200400404
GET
/orgs/{org}/actions/runners
Get org-level runners
getOrgRunners2 params→ 200400404
POST
/orgs/{org}/actions/runners/registration-token
Get an organization's actions runner registration token
orgCreateRunnerRegistrationToken1 param→ 200
GET
/orgs/{org}/actions/runners/{runner_id}
Get an org-level runner
getOrgRunner2 params→ 200400404
DELETE
/orgs/{org}/actions/runners/{runner_id}
Delete an org-level runner
deleteOrgRunner2 params→ 204400404
PATCH
/orgs/{org}/actions/runners/{runner_id}
Update an org-level runner
updateOrgRunner2 paramsbody→ 200400404422
GET
/orgs/{org}/actions/runs
Get org-level workflow runs
getOrgWorkflowRuns8 params→ 200400404
GET
/orgs/{org}/actions/secrets
List an organization's actions secrets
orgListActionsSecrets3 params→ 200404
PUT
/orgs/{org}/actions/secrets/{secretname}
Create or Update a secret value in an organization
Check if a user is a public member of an organization
orgIsPublicMember2 params→ 204404
PUT
/orgs/{org}/public_members/{username}
Publicize a user's membership
orgPublicizeMember2 params→ 204403404
DELETE
/orgs/{org}/public_members/{username}
Conceal a user's membership
orgConcealMember2 params→ 204403404
POST
/orgs/{org}/rename
Rename an organization
renameOrg1 parambody→ 204403422
GET
/orgs/{org}/repos
List an organization's repos
orgListRepos3 params→ 200404
POST
/orgs/{org}/repos
Create a repository in an organization
createOrgRepo1 parambody→ 201400403404
DELETE
/orgs/{org}/repos
Delete all repositories in an organization
orgDeleteRepos1 param→ 202204403404
GET
/orgs/{org}/teams
List an organization's teams
orgListTeams3 params→ 200404
POST
/orgs/{org}/teams
Create a team
orgCreateTeam1 parambody→ 201404422
GET
/orgs/{org}/teams/search
Search for teams within an organization
teamSearch5 params→ 200404
GET
/teams/{id}
Get a team
orgGetTeam1 param→ 200404
DELETE
/teams/{id}
Delete a team
orgDeleteTeam1 param→ 204404
PATCH
/teams/{id}
Edit a team
orgEditTeam1 parambody→ 200404
GET
/teams/{id}/activities/feeds
List a team's activity feeds
orgListTeamActivityFeeds4 params→ 200404
GET
/teams/{id}/members
List a team's members
orgListTeamMembers3 params→ 200404
GET
/teams/{id}/members/{username}
List a particular member of team
orgListTeamMember2 params→ 200404
PUT
/teams/{id}/members/{username}
Add a team member
orgAddTeamMember2 params→ 204403404
DELETE
/teams/{id}/members/{username}
Remove a team member
orgRemoveTeamMember2 params→ 204404
GET
/teams/{id}/repos
List a team's repos
orgListTeamRepos3 params→ 200404
GET
/teams/{id}/repos/{org}/{repo}
List a particular repo of team
orgListTeamRepo3 params→ 200404
PUT
/teams/{id}/repos/{org}/{repo}
Add a repository to a team
orgAddTeamRepository3 params→ 204403404
DELETE
/teams/{id}/repos/{org}/{repo}
Remove a repository from a team
orgRemoveTeamRepository3 params→ 204403404
GET
/user/orgs
List the current user's organizations
orgListCurrentUserOrgs2 params→ 200404
GET
/users/{username}/orgs
List a user's organizations
orgListUserOrgs3 params→ 200404
GET
/users/{username}/orgs/{org}/permissions
Get user permissions in organization
orgGetUserPermissions2 params→ 200403404
Schemas 56
The contract defines 56 schemas that model the data the API accepts and returns. The most detailed are Repository (71 properties), ActionWorkflowRun (28 properties), Issue (28 properties), User (23 properties). Each schema is shown below with its type and property counts.
PullRequestMinimal
object
PullRequestMinimal is the minimal information about a pull request, as returned in the pullrequests field of a workflow run.
5 properties
CreateOrUpdateSecretOption
object
CreateOrUpdateSecretOption options when creating or updating secret
2 properties1 required
InternalTracker
object
InternalTracker represents settings for internal tracker
3 properties
ExternalWiki
object
ExternalWiki represents setting for external wiki
1 property
EditTeamOption
object
EditTeamOption options for editing a team
8 properties1 required
Hook
object
Hook a hook is a web hook when one repository changed
10 properties
User
object
User represents a user
23 properties
Team
object
Team represents a team in an organization
10 properties
EditProjectOption
object
EditProjectOption represents options for editing a project
4 properties
Secret
object
Secret represents a secret
3 properties
EditHookOption
object
EditHookOption options when modify one hook
6 properties
ActionWorkflowStep
object
ActionWorkflowStep represents a step of a WorkflowJob
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Gitea Organization API, published by
API Evangelist. We do not operate, host, resell, or
support these APIs, and we are not affiliated with or endorsed by the company unless stated above.
Everything here is built from publicly available information — the company's own site,
developer portal, documentation, public repositories, and the specifications it publishes for public use.
Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's
public API artifacts, scored against a published rubric. They are not certifications,
endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and
you do not need to justify the request. A removed company is recorded as unrated, never scored
zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy → On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.