How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitLab Members API

Use this API to manage the [members](https://docs.gitlab.com/user/project/members/) of a group or aproject, including inherited memberships, membership approvals, and the billable members of a group.

GitLab Members API is one of 189 APIs that GitLab publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 16 JSON Schema definitions.

Tagged areas include Members. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, rate-limit docs, an AsyncAPI specification, and 16 JSON Schemas.

This API exposes 23 operations across 16 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 19.6.

Requests are made against a single base URL, https://{hostname}.

23 operations 16 paths 12 schemas 4 DELETE11 GET4 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
19.6
Base URL
https://gitlab.com/api/v4
Authentication
HTTP Bearer, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

GitLab Members API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (http). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 9 scopes. An API key is passed in the header as PRIVATE-TOKEN (apiKey). By default, every request must be authenticated.

Paths & Operations 23

Across 16 paths, the API surfaces 23 operations — 4 DELETE, 11 GET, 4 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

Members 23

Use this API to manage the members of a group or a project, including inherited memberships, membership approvals, and the billable members of a group.

GET
/api/v4/groups/{id}/members
List all direct members of a group
getApiV4GroupsIdMembers 8 params → 200404400
POST
/api/v4/groups/{id}/members
Add a member to a group
postApiV4GroupsIdMembers 1 param body → 201404400
GET
/api/v4/groups/{id}/members/all
List all members of a group
getApiV4GroupsIdMembersAll 7 params → 200404400
GET
/api/v4/groups/{id}/members/{user_id}
Retrieve a direct group member
getApiV4GroupsIdMembersUserId 2 params → 200404400
PUT
/api/v4/groups/{id}/members/{user_id}
Update a group member
putApiV4GroupsIdMembersUserId 2 params body → 200404400
DELETE
/api/v4/groups/{id}/members/{user_id}
Remove a member from a group
deleteApiV4GroupsIdMembersUserId 4 params → 204404400
GET
/api/v4/groups/{id}/members/all/{user_id}
Retrieve a group member
getApiV4GroupsIdMembersAllUserId 2 params → 200404400
GET
/api/v4/projects/{id}/members
List all direct members of a project
getApiV4ProjectsIdMembers 8 params → 200404400
POST
/api/v4/projects/{id}/members
Add a member to a project
postApiV4ProjectsIdMembers 1 param body → 201404400
GET
/api/v4/projects/{id}/members/all
List all members of a project
getApiV4ProjectsIdMembersAll 7 params → 200404400
GET
/api/v4/projects/{id}/members/{user_id}
Retrieve a direct project member
getApiV4ProjectsIdMembersUserId 2 params → 200404400
PUT
/api/v4/projects/{id}/members/{user_id}
Update a project member
putApiV4ProjectsIdMembersUserId 2 params body → 200404400
DELETE
/api/v4/projects/{id}/members/{user_id}
Remove a member from a project
deleteApiV4ProjectsIdMembersUserId 4 params → 204404400
GET
/api/v4/projects/{id}/members/all/{user_id}
Retrieve a project member
getApiV4ProjectsIdMembersAllUserId 2 params → 200404400
POST
/api/v4/groups/{id}/members/{user_id}/override
Set override flag for a member of a group
postApiV4GroupsIdMembersUserIdOverride 2 params → 201404400
DELETE
/api/v4/groups/{id}/members/{user_id}/override
Remove an LDAP access level override
deleteApiV4GroupsIdMembersUserIdOverride 2 params → 200404400
PUT
/api/v4/groups/{id}/members/{member_id}/approve
Approve a group member
putApiV4GroupsIdMembersMemberIdApprove 2 params → 200404400
POST
/api/v4/groups/{id}/members/approve_all
Approve all pending group members
postApiV4GroupsIdMembersApproveAll 1 param → 201404400
GET
/api/v4/groups/{id}/pending_members
List all pending group members
getApiV4GroupsIdPendingMembers 3 params → 200404400
PUT
/api/v4/groups/{id}/members/{user_id}/state
Update group membership state for a user
putApiV4GroupsIdMembersUserIdState 2 params body → 200404400
GET
/api/v4/groups/{id}/billable_members/{user_id}/memberships
List all memberships for a billable group member
getApiV4GroupsIdBillableMembersUserIdMemberships 4 params → 200404400
GET
/api/v4/groups/{id}/billable_members/{user_id}/indirect
List all indirect memberships for a billable group member
getApiV4GroupsIdBillableMembersUserIdIndirect 4 params → 200404400
DELETE
/api/v4/groups/{id}/billable_members/{user_id}
Remove a billable member from a group
deleteApiV4GroupsIdBillableMembersUserId 2 params → 204404400

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are APIEntitiesMemberRole (50 properties), APIEntitiesMember (22 properties), APIEntitiesUserBasic (10 properties), APIEntitiesBillableMembership (7 properties). Each schema is shown below with its type and property counts.

APIEntitiesMemberRole
object
50 properties
putApiV4GroupsIdMembersUserIdRequest
object
3 properties 1 required
APIEntitiesBillableMembership
object
7 properties
APIEntitiesMember
object
22 properties
APIEntitiesIdentity
object
3 properties
APIEntitiesCustomAttribute
object
2 properties
postApiV4GroupsIdMembersRequest
object
5 properties 1 required
putApiV4GroupsIdMembersUserIdStateRequest
object
1 property 1 required
postApiV4ProjectsIdMembersRequest
object
5 properties 1 required
APIEntitiesUserBasic
object
10 properties
putApiV4ProjectsIdMembersUserIdRequest
object
3 properties 1 required
APIEntitiesScimIdentity
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitlab-members-api-openapi.yml Raw ↑

Other APIs GitLab publishes across the network.

GitLab Orbit gRPC API
GitLab GraphQL API
GitLab Applications API
GitLab Authorization API
GitLab Broadcast Messages API
GitLab Groups API
GitLab Metadata API
GitLab Project Webhooks API
GitLab Projects API
GitLab Tokens API
GitLab User Info API
GitLab Webhook Configuration API
Where this information came from

This is an independent, third-party profile of GitLab Members API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.