Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of 1.26.4, which is no longer the latest release. See the latest release.

Check if a user is blocked by the organization

GET
/orgs/{org}/blocks/{username}
curl --request GET \
--url https://gitea.com/api/v1/orgs/example/blocks/example \
--header 'Authorization: Basic <credentials>'
org
required
string

Name of the organization

username
required
string

Username of the user to check

APIEmpty is an empty response

Media typeapplication/json

APINotFound is a not found empty response

Media typeapplication/json