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
| Name | Type | Description |
|---|---|---|
idPath, | String | The ID or URL- |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not 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
| Name | Type | Description |
|---|---|---|
idPath, | String | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
confidential | Boolean | If true,trueDefault: true |
nameRequired | String | Name of the application Example: My |
redirect_Required | String | Redirect URI of the application Example: https: |
scopesRequired | String | Scopes available to the application. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not 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
| Name | Type | Description |
|---|---|---|
idPath, | String | The ID or URL- |
application_Path, | Integer | ID of the application.application_ in the response |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not 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
| Name | Type | Description |
|---|---|---|
idPath, | String | The ID or URL- |
application_Path, | Integer | ID of the application.application_ in the response |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
name | String | Name of the application |
scopes | String | Scopes available to the application. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
Delete a group application
DELETE /api/v4/groups/{id}/applications/{application_id}
Deletes a specified OAuth application owned by a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | The ID or URL- |
application_Path, | Integer | ID of the application.application_ in the response |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesApplication
| Property | Type | Description |
|---|---|---|
application_ | String | Example:5832fc6e14300a0d9622 |
application_ | String | Example:My |
callback_ | String | Example:https: |
confidential | Boolean | Example:true |
granular_ | Array of APIEntities | — |
id | Integer (int64) | Example:1 |
scopes | Array | Example:["api", |
APIEntitiesApplicationWithSecret
| Property | Type | Description |
|---|---|---|
application_ | String | Example:5832fc6e14300a0d9622 |
application_ | String | Example:My |
callback_ | String | Example:https: |
confidential | Boolean | Example:true |
granular_ | Array of APIEntities | — |
id | Integer (int64) | Example:1 |
scopes | Array | Example:["api", |
secret | String | Example:ee1dd64b6adc89cf7e2c |
warnings | Array of strings | Example:["Tokens cannot use the MCP server without a user- |
APIEntitiesGranularScope
| Property | Type | Description |
|---|---|---|
access | String | Example:personal_ |
group_ | Integer (int64) | Example:5 |
permissions | Array | Example:["read_ |
project_ | Integer (int64) | Example:3 |