跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 23.8.2, which is no longer the latest release. See the latest release.

Check if a user is a member of an organization

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

Name of the organization

username
required
string

Username of the user

User is a member

Redirection to /orgs/{org}/public_members/{username}

User is not a member