# Codeberg Organization API

**Canonical:** https://apis.io/apis/codeberg/codeberg-organization-api/  
**Provider:** Codeberg — https://apis.io/providers/codeberg/  
**Base URL:** https://codeberg.org/api/v1  
**Documentation:** https://codeberg.org/api/swagger

Codeberg Organization API is one of 10 APIs that [Codeberg](https://apis.io/providers/codeberg/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Organization. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The organization API from Codeberg — 42 operation(s) for organization.

## Operations (60 of 69)

| Method | Path | Summary |
|---|---|---|
| POST | `/org/{org}/repos` | Create a repository in an organization |
| GET | `/orgs` | List all 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/runners` | Get the organization's runners |
| POST | `/orgs/{org}/actions/runners` | Register a new organization-level runner |
| GET | `/orgs/{org}/actions/runners/jobs` | Search for organization's action jobs according filter conditions |
| GET | `/orgs/{org}/actions/runners/registration-token` | Get the organization's runner registration token |
| GET | `/orgs/{org}/actions/runners/{runner_id}` | Get a particular runner that belongs to the organization |
| DELETE | `/orgs/{org}/actions/runners/{runner_id}` | Delete a particular runner that belongs to the organization |
| GET | `/orgs/{org}/actions/secrets` | List actions secrets of an organization |
| 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` | List variables of an organization |
| GET | `/orgs/{org}/actions/variables/{variablename}` | Get organization's variable by name |
| PUT | `/orgs/{org}/actions/variables/{variablename}` | Update variable in organization |
| POST | `/orgs/{org}/actions/variables/{variablename}` | Create a new variable in organization |
| DELETE | `/orgs/{org}/actions/variables/{variablename}` | Delete organization's variable by name |
| GET | `/orgs/{org}/activities/feeds` | List an organization's activity feeds |
| POST | `/orgs/{org}/avatar` | Update an organization's avatar |
| DELETE | `/orgs/{org}/avatar` | Delete an organization's avatar. It will be replaced by a default one |
| PUT | `/orgs/{org}/block/{username}` | Blocks a user from the organization |
| 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}/list_blocked` | List the organization's blocked users |
| 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 |
| GET | `/orgs/{org}/quota` | Get quota information for an organization |
| GET | `/orgs/{org}/quota/artifacts` | List the artifacts affecting the organization's quota |
| GET | `/orgs/{org}/quota/attachments` | List the attachments affecting the organization's quota |
| GET | `/orgs/{org}/quota/check` | Check if the organization is over quota for a given subject |
| GET | `/orgs/{org}/quota/packages` | List the packages affecting the organization's quota |
| 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 |
| 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 |
| PUT | `/orgs/{org}/unblock/{username}` | Unblock a user from the 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 |

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

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/openapi/codeberg-organization-api-openapi.yml
- **Documentation** — https://docs.codeberg.org/advanced/api-usage/
- **APIReference** — https://codeberg.org/api/swagger
- **PostmanCollection** — https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/collections/codeberg.postman_collection.json
- **OpenCollection** — https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/collections/codeberg.opencollection.json

## Other Codeberg APIs (9)

- [Codeberg Miscellaneous API](https://apis.io/apis/codeberg/codeberg-miscellaneous-api/)
- [Codeberg Activitypub API](https://apis.io/apis/codeberg/codeberg-activitypub-api/)
- [Codeberg Admin API](https://apis.io/apis/codeberg/codeberg-admin-api/)
- [Codeberg Issue API](https://apis.io/apis/codeberg/codeberg-issue-api/)
- [Codeberg Notification API](https://apis.io/apis/codeberg/codeberg-notification-api/)
- [Codeberg Package API](https://apis.io/apis/codeberg/codeberg-package-api/)
- [Codeberg Repository API](https://apis.io/apis/codeberg/codeberg-repository-api/)
- [Codeberg Settings API](https://apis.io/apis/codeberg/codeberg-settings-api/)
- [Codeberg User API](https://apis.io/apis/codeberg/codeberg-user-api/)

## Tags

Organization

---

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