Operations related to group applications.

List all group applications

GET /api/v4/groups/{id}/applications

Lists all OAuth applications owned by a specified group.

Parameters

NameTypeDescription
id
Path, required
StringThe ID or URL-encoded path of the group
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesApplication
400Bad Request—
401Unauthorized—
403Forbidden—
404Not found—

Create a group application

POST /api/v4/groups/{id}/applications

Creates an OAuth application owned by the specified group. This feature was introduced in GitLab 19.6

Parameters

NameTypeDescription
id
Path, required
StringThe ID or URL-encoded path of the group

Request body (application/json)

PropertyTypeDescription
confidentialBooleanIf true, the application can securely store client credentials, such as the client secret. Non-confidential applications, such as native mobile apps and Single Page Apps might expose client credentials. If unset, defaults to true
Default: true
name
Required
StringName of the application
Example: MyApplication
redirect_uri
Required
StringRedirect URI of the application
Example: https://redirect.uri
scopes
Required
StringScopes available to the application. Separate multiple scopes with a space

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesApplicationWithSecret
400Bad request—
401Unauthorized—
403Forbidden—
404Not found—

Retrieve a group application

GET /api/v4/groups/{id}/applications/{application_id}

Retrieves details of a specified OAuth application owned by a group.

Parameters

NameTypeDescription
id
Path, required
StringThe ID or URL-encoded path of the group
application_id
Path, required
IntegerID of the application. Differs from the application_id in the response

Responses

CodeDescriptionSchema
200OKAPIEntitiesApplication
400Bad Request—
401Unauthorized—
403Forbidden—
404Not found—

Update a group application

PUT /api/v4/groups/{id}/applications/{application_id}

Updates a specified OAuth application owned by a group. You cannot update the redirect_uri and confidential attributes of an existing application. To change them, delete the application and create it again.

Parameters

NameTypeDescription
id
Path, required
StringThe ID or URL-encoded path of the group
application_id
Path, required
IntegerID of the application. Differs from the application_id in the response

Request body (application/json)

PropertyTypeDescription
nameStringName of the application
scopesStringScopes available to the application. Separate multiple scopes with a space

Responses

CodeDescriptionSchema
200OKAPIEntitiesApplication
400Bad request—
401Unauthorized—
403Forbidden—
404Not found—

Delete a group application

DELETE /api/v4/groups/{id}/applications/{application_id}

Deletes a specified OAuth application owned by a group.

Parameters

NameTypeDescription
id
Path, required
StringThe ID or URL-encoded path of the group
application_id
Path, required
IntegerID of the application. Differs from the application_id in the response

Responses

CodeDescriptionSchema
204No Content—
400Bad Request—
401Unauthorized—
403Forbidden—
404Not found—

Schemas

Objects returned by the operations above and objects nested in their request bodies.

APIEntitiesApplication

PropertyTypeDescription
application_idStringExample: 5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737
application_nameStringExample: MyApplication
callback_urlStringExample: https://redirect.uri
confidentialBooleanExample: true
granular_scopesArray of APIEntitiesGranularScope—
idInteger (int64)Example: 1
scopesArrayExample: ["api","read_user"]

APIEntitiesApplicationWithSecret

PropertyTypeDescription
application_idStringExample: 5832fc6e14300a0d962240a8144466eef4ee93ef0d218477e55f11cf12fc3737
application_nameStringExample: MyApplication
callback_urlStringExample: https://redirect.uri
confidentialBooleanExample: true
granular_scopesArray of APIEntitiesGranularScope—
idInteger (int64)Example: 1
scopesArrayExample: ["api","read_user"]
secretStringExample: ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34
warningsArray of stringsExample: ["Tokens cannot use the MCP server without a user-level scope granting execute_mcp_tool."]

APIEntitiesGranularScope

PropertyTypeDescription
accessStringExample: personal_projects
group_idInteger (int64)Example: 5
permissionsArrayExample: ["read_job"]
project_idInteger (int64)Example: 3