跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support

Check if a user is a public member of an organization

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

Name of the organization

username
required
string

Username of the user to check for a public organization membership

User is a public member

Media typeapplication/json

User is not a public member

Media typeapplication/json