# Gitea organization API

**Canonical:** https://apis.io/apis/gitea/gitea-organization-api/  
**Provider:** Gitea — https://apis.io/providers/gitea/  
**Base URL:** https://gitea.com/api/v1  
**Documentation:** https://docs.gitea.com/api/

Gitea organization API is one of 13 APIs that [Gitea](https://apis.io/providers/gitea/) publishes on the [APIs.io](https://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.

The organization API from Gitea — 37 operation(s) for organization.

## Operations (60 of 67)

| Method | Path | Summary |
|---|---|---|
| POST | `/org/{org}/repos` | Create a repository in an organization |
| GET | `/orgs` | Get list of organizations |
| POST | `/orgs` | Create an organization |
| GET | `/orgs/{org}` | Get an organization |
| DELETE | `/orgs/{org}` | Delete an organization |
| PATCH | `/orgs/{org}` | Edit an organization |
| GET | `/orgs/{org}/actions/jobs` | Get org-level workflow jobs |
| GET | `/orgs/{org}/actions/runners` | Get org-level runners |
| POST | `/orgs/{org}/actions/runners/registration-token` | Get an organization's actions runner registration token |
| GET | `/orgs/{org}/actions/runners/{runner_id}` | Get an org-level runner |
| DELETE | `/orgs/{org}/actions/runners/{runner_id}` | Delete an org-level runner |
| PATCH | `/orgs/{org}/actions/runners/{runner_id}` | Update an org-level runner |
| GET | `/orgs/{org}/actions/runs` | Get org-level workflow runs |
| GET | `/orgs/{org}/actions/secrets` | List an organization's actions secrets |
| PUT | `/orgs/{org}/actions/secrets/{secretname}` | Create or Update a secret value in an organization |
| DELETE | `/orgs/{org}/actions/secrets/{secretname}` | Delete a secret in an organization |
| GET | `/orgs/{org}/actions/variables` | Get an org-level variables list |
| GET | `/orgs/{org}/actions/variables/{variablename}` | Get an org-level variable |
| PUT | `/orgs/{org}/actions/variables/{variablename}` | Update an org-level variable |
| POST | `/orgs/{org}/actions/variables/{variablename}` | Create an org-level variable |
| DELETE | `/orgs/{org}/actions/variables/{variablename}` | Delete an org-level variable |
| GET | `/orgs/{org}/activities/feeds` | List an organization's activity feeds |
| POST | `/orgs/{org}/avatar` | Update Avatar |
| DELETE | `/orgs/{org}/avatar` | Delete Avatar |
| GET | `/orgs/{org}/blocks` | List users blocked by the organization |
| GET | `/orgs/{org}/blocks/{username}` | Check if a user is blocked by the organization |
| PUT | `/orgs/{org}/blocks/{username}` | Block a user |
| DELETE | `/orgs/{org}/blocks/{username}` | Unblock a user |
| GET | `/orgs/{org}/hooks` | List an organization's webhooks |
| POST | `/orgs/{org}/hooks` | Create a hook |
| GET | `/orgs/{org}/hooks/{id}` | Get a hook |
| DELETE | `/orgs/{org}/hooks/{id}` | Delete a hook |
| PATCH | `/orgs/{org}/hooks/{id}` | Update a hook |
| GET | `/orgs/{org}/labels` | List an organization's labels |
| POST | `/orgs/{org}/labels` | Create a label for an organization |
| GET | `/orgs/{org}/labels/{id}` | Get a single label |
| DELETE | `/orgs/{org}/labels/{id}` | Delete a label |
| PATCH | `/orgs/{org}/labels/{id}` | Update a label |
| GET | `/orgs/{org}/members` | List an organization's members |
| GET | `/orgs/{org}/members/{username}` | Check if a user is a member of an organization |
| DELETE | `/orgs/{org}/members/{username}` | Remove a member from an organization |
| GET | `/orgs/{org}/public_members` | List an organization's public members |
| GET | `/orgs/{org}/public_members/{username}` | Check if a user is a public member of an organization |
| PUT | `/orgs/{org}/public_members/{username}` | Publicize a user's membership |
| DELETE | `/orgs/{org}/public_members/{username}` | Conceal a user's membership |
| POST | `/orgs/{org}/rename` | Rename an organization |
| GET | `/orgs/{org}/repos` | List an organization's repos |
| POST | `/orgs/{org}/repos` | Create a repository in an organization |
| DELETE | `/orgs/{org}/repos` | Delete all repositories in an organization |
| GET | `/orgs/{org}/teams` | List an organization's teams |
| POST | `/orgs/{org}/teams` | Create a team |
| GET | `/orgs/{org}/teams/search` | Search for teams within an organization |
| GET | `/teams/{id}` | Get a team |
| DELETE | `/teams/{id}` | Delete a team |
| PATCH | `/teams/{id}` | Edit a team |
| GET | `/teams/{id}/activities/feeds` | List a team's activity feeds |
| GET | `/teams/{id}/members` | List a team's members |
| GET | `/teams/{id}/members/{username}` | List a particular member of team |
| PUT | `/teams/{id}/members/{username}` | Add a team member |
| DELETE | `/teams/{id}/members/{username}` | Remove a team member |

…and 7 more operations. They are listed in full on the page.

## Machine-readable artifacts (61)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/openapi/gitea-organization-api-openapi.yml
- **Documentation** — https://docs.gitea.com/api/
- **APIReference** — https://docs.gitea.com/api/1.26/
- **Swagger** — https://demo.gitea.com/api/swagger
- **GettingStarted** — https://docs.gitea.com/development/api-usage
- **Authentication** — https://docs.gitea.com/development/oauth2-provider
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-repository-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-issue-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-pullrequest-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-branch-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-commit-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-release-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-hook-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-organization-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-team-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-user-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-notificationthread-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-package-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-label-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-milestone-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-tag-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-schema/gitea-rest-api-comment-schema.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-repository-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-issue-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-pullrequest-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-branch-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-commit-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-release-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-hook-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-organization-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-team-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-user-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-notificationthread-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-package-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-label-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-milestone-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-tag-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-comment-structure.json
- **CodeExamples** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/examples/gitea-rest-api-repo-get-example.json
- **CodeExamples** — https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/examples/gitea-rest-api-repo-update-example.json
- …and 21 more, listed in full on the page.

## Other Gitea APIs (12)

- [Gitea Actions API](https://apis.io/apis/gitea/gitea-actions-api/)
- [Gitea Package Registry](https://apis.io/apis/gitea/gitea-package-registry/)
- [Gitea Webhooks](https://apis.io/apis/gitea/gitea-webhooks/)
- [Gitea Cloud Management API](https://apis.io/apis/gitea/gitea-cloud-management-api/)
- [Gitea admin API](https://apis.io/apis/gitea/gitea-admin-api/)
- [Gitea issue API](https://apis.io/apis/gitea/gitea-issue-api/)
- [Gitea miscellaneous API](https://apis.io/apis/gitea/gitea-miscellaneous-api/)
- [Gitea notification API](https://apis.io/apis/gitea/gitea-notification-api/)
- [Gitea package API](https://apis.io/apis/gitea/gitea-package-api/)
- [Gitea repository API](https://apis.io/apis/gitea/gitea-repository-api/)
- [Gitea settings API](https://apis.io/apis/gitea/gitea-settings-api/)
- [Gitea user API](https://apis.io/apis/gitea/gitea-user-api/)

## Tags

Organization

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/gitea/gitea-organization-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/gitea/.
