Action domain
access
Every action this domain exposes through gitlab_execute_action, from the gitlab://tools manifest. Each entry folds out to its full upstream description and required parameters.
48 · actions17 · destructive19 · read-only
Counted against gitlab.com, which is the only host this endpoint talks to, with a token it resolves to the Ultimate tier: to use it against a self-managed instance, run the server yourself — its documentation covers that. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: a Free token sees fewer actions, a member of a group on a paid plan sees that plan's, and administration domains only appear to tokens allowed to use them. That is why the figures differ elsewhere: the upstream project counts 872 operations on Community Edition and up to 1,099 on GitLab.com's top tier, while this deployment publishes 980 because it is OAuth-only and acts with your token, so the administration domains a non-admin account cannot call never appear. All three describe the same catalog, counted from three vantage points.
Each entry also says what a GitLab fine-grained personal access token needs to run it, as GitLab 19.6.1 declares it: every permission of one line, at one of the boundaries named. Where there are alternatives, any one is enough. What follows "Some calls also need" is needed only by the calls that send that request, and the parts of the answer GitLab serves empty to such a token are listed apart.
Access Request Approve Groupaccess.approve_groupApprove a pending group access request, granting the user membership at access_level, or Developer when it is left out. Minimal access is granted only on a top-level group with a Premium or Ultimate license, and is reported as granted only once the requester is found among the group's members. Returns: the membership it became, with id, username, name, the granted access level, the state, and the membership fields GitLab sends with it. See also:
access.request_list_group,access.deny_group,group.members.Required parameters:
group_id (string|integer),user_id (integer)Fine-grained token:
Access Request: Approveat group. Some calls also need:Group: ReadandMember: Readat group
Access Request Approve Projectaccess.approve_projectApprove a pending project access request, granting the user membership at access_level, or Developer when it is left out. A level a project does not grant is refused before the request. Returns: the membership it became, with id, username, name, the granted access level, the state, and the membership fields GitLab sends with it. See also:
access.request_list_project,access.deny_project,project.members.Required parameters:
project_id (string|integer),user_id (integer)Fine-grained token:
Access Request: Approveat project
Access Request Deny Groupdestructiveaccess.deny_groupDeny a pending group access request, removing it without granting membership. Returns: a success status and confirmation message. See also:
access.request_list_group,access.approve_group,group.members.Required parameters:
group_id (string|integer),user_id (integer)Fine-grained token:
Access Request: Deleteat group or user
Access Request Deny Projectdestructiveaccess.deny_projectDeny a pending project access request, removing it without granting membership. Returns: a success status and confirmation message. See also:
access.request_list_project,access.approve_project,project.members.Required parameters:
project_id (string|integer),user_id (integer)Fine-grained token:
Access Request: Deleteat project or user
Deploy Key Adddestructiveaccess.deploy_key_addAdd a new SSH deploy key to a project. Requires confirmation. Returns: the created deploy key with id, title, fingerprint, can_push, and expiry. See also:
access.deploy_key_get,access.deploy_key_list_project,access.deploy_key_enable.Required parameters:
key (string),project_id (string|integer),title (string)Fine-grained token:
Deploy Key: Createat project
Deploy Key Add Instanceaccess.deploy_key_add_instanceCreate an instance-level deploy key (admin only). Returns: the created instance deploy key with id, title, fingerprint, expiry, and project access arrays. See also:
access.deploy_key_list_all,access.deploy_key_enable.Required parameters:
key (string),title (string)Fine-grained token:
Deploy Key: Createat instance
Deploy Key Deletedestructiveaccess.deploy_key_deleteDelete a deploy key from a project (removes it from all projects where it is enabled). Returns: a success confirmation. See also:
access.deploy_key_get,access.deploy_key_list_project.Required parameters:
deploy_key_id (integer),project_id (string|integer)Fine-grained token:
Deploy Key: Deleteat project
Deploy Key Enabledestructiveaccess.deploy_key_enableEnable an existing deploy key for a project. Requires confirmation. Returns: the enabled deploy key with id, title, fingerprint, and can_push. See also:
access.deploy_key_list_all,access.deploy_key_list_project,access.deploy_key_get.Required parameters:
deploy_key_id (integer),project_id (string|integer)Fine-grained token:
Deploy Key: Enableat project
Deploy Key Getread-onlyaccess.deploy_key_getGet a single project deploy key by id. Returns: the deploy key with title, key, fingerprint, fingerprint_sha256, can_push, created_at, and expires_at. See also:
access.deploy_key_list_project,access.deploy_key_update,access.deploy_key_delete.Required parameters:
deploy_key_id (integer),project_id (string|integer)Fine-grained token:
Deploy Key: Readat project
Deploy Key List Allread-onlyaccess.deploy_key_list_allList ALL instance-level SSH deploy keys in one call (admin only). Use this instead of
access.deploy_key_list_projectwhen you need every key on the instance. Returns: instance deploy keys with id, title, fingerprint, expiry, projects_with_write_access, projects_with_readonly_access, and pagination metadata. See also:access.deploy_key_add_instance,access.deploy_key_enable,access.deploy_key_list_project.Required parameters: No required parameters
Fine-grained token:
Deploy Key: Readat instance
Deploy Key List Projectread-onlyaccess.deploy_key_list_projectList a project's SSH deploy keys with ordering and pagination. Returns: deploy keys with id, title, fingerprint, can_push, expiry, and pagination metadata. See also:
access.deploy_key_get,access.deploy_key_add,access.deploy_key_enable.Required parameters:
project_id (string|integer)Fine-grained token:
Deploy Key: Readat project
Deploy Key List User Projectread-onlyaccess.deploy_key_list_user_projectList the deploy keys across a user's projects (admin only) with ordering and pagination. Returns: deploy keys with id, title, fingerprint, can_push, expiry, and pagination metadata. See also:
access.deploy_key_list_project,access.deploy_key_get,user.get.Required parameters:
user_id (string|integer)Fine-grained token:
Deploy Key: Readat user
Deploy Key Updateaccess.deploy_key_updateUpdate a project deploy key's title or push permission. Returns: the updated deploy key. See also:
access.deploy_key_get,access.deploy_key_list_project,access.deploy_key_delete.Required parameters:
deploy_key_id (integer),project_id (string|integer)Fine-grained token:
Deploy Key: Updateat project
Deploy Token Create Groupaccess.deploy_token_create_groupCreate a deploy token for a group. Returns: the created deploy token including its one-time secret token value, plus id, name, username, scopes, and expiry. See also:
access.deploy_token_list_group,access.deploy_token_get_group,access.deploy_token_delete_group.Required parameters:
group_id (string|integer),name (string),scopes (array)Fine-grained token:
Deploy Token: Createat group
Deploy Token Create Projectaccess.deploy_token_create_projectCreate a deploy token for a project. Returns: the created deploy token including its one-time secret token value, plus id, name, username, scopes, and expiry. See also:
access.deploy_token_list_project,access.deploy_token_get_project,access.deploy_token_delete_project.Required parameters:
name (string),project_id (string|integer),scopes (array)Fine-grained token:
Deploy Token: Createat project
Deploy Token Delete Groupdestructiveaccess.deploy_token_delete_groupPermanently delete a group deploy token by ID. Returns: a success confirmation. Deletion is irreversible. See also:
access.deploy_token_list_group,access.deploy_token_get_group,access.deploy_token_create_group.Required parameters:
deploy_token_id (integer),group_id (string|integer)Fine-grained token:
Deploy Token: Deleteat group
Deploy Token Delete Projectdestructiveaccess.deploy_token_delete_projectPermanently delete a project deploy token by ID. Returns: a success confirmation. Deletion is irreversible. See also:
access.deploy_token_list_project,access.deploy_token_get_project,access.deploy_token_create_project.Required parameters:
deploy_token_id (integer),project_id (string|integer)Fine-grained token:
Deploy Token: Deleteat project
Deploy Token Get Groupread-onlyaccess.deploy_token_get_groupGet a single group deploy token by ID. Returns: the deploy token with id, name, username, scopes, revoked/expired state, and expiry. See also:
access.deploy_token_list_group,access.deploy_token_create_group,access.deploy_token_delete_group.Required parameters:
deploy_token_id (integer),group_id (string|integer)Fine-grained token:
Deploy Token: Readat group
Deploy Token Get Projectread-onlyaccess.deploy_token_get_projectGet a single project deploy token by ID. Returns: the deploy token with id, name, username, scopes, revoked/expired state, and expiry. See also:
access.deploy_token_list_project,access.deploy_token_create_project,access.deploy_token_delete_project.Required parameters:
deploy_token_id (integer),project_id (string|integer)Fine-grained token:
Deploy Token: Readat project
Deploy Token List Allread-onlyaccess.deploy_token_list_allList ALL deploy tokens across the GitLab instance in one call (admin only). Use this instead of
access.deploy_token_list_projectoraccess.deploy_token_list_groupwhen you need every instance-wide token. Returns: deploy tokens with id, name, username, scopes, revoked/expired state, and pagination metadata. See also:access.deploy_token_list_project,access.deploy_token_list_group,access.deploy_token_create_project.Required parameters: No required parameters
Fine-grained token:
Deploy Token: Readat instance
Deploy Token List Groupread-onlyaccess.deploy_token_list_groupList deploy tokens owned by a group. Returns: deploy tokens with id, name, username, scopes, revoked/expired state, expiry, and pagination metadata. See also:
access.deploy_token_get_group,access.deploy_token_create_group,access.deploy_token_delete_group.Required parameters:
group_id (string|integer)Fine-grained token:
Deploy Token: Readat group
Deploy Token List Projectread-onlyaccess.deploy_token_list_projectList deploy tokens owned by a project. Returns: deploy tokens with id, name, username, scopes, revoked/expired state, expiry, and pagination metadata. See also:
access.deploy_token_get_project,access.deploy_token_create_project,access.deploy_token_delete_project.Required parameters:
project_id (string|integer)Fine-grained token:
Deploy Token: Readat project
Group Inviteaccess.invite_groupInvite a user to a group by email or user ID with an access level. Returns: an invitation result with status, per-email messages, and any users queued for administrator approval. See also:
access.invite_list_group,group.group_member_add,access.request_group.Required parameters:
access_level (integer),group_id (string|integer)Fine-grained token:
Invitation: Createat group
Group Invite List Pendingread-onlyaccess.invite_list_groupList a group's pending invitations. Returns: pending invitations with invite email, access level, creator, creation and expiry dates, plus pagination metadata. See also:
access.invite_group,group.members.Required parameters:
group_id (string|integer)Fine-grained token:
Invitation: Readat group
Project Invite List Pendingread-onlyaccess.invite_list_projectList a project's pending invitations. Returns: pending invitations with invite email, access level, creator, creation and expiry dates, plus pagination metadata. See also:
access.invite_project,project.members.Required parameters:
project_id (string|integer)Fine-grained token:
Invitation: Readat project
Project Inviteaccess.invite_projectInvite a user to a project by email or user ID with an access level. Returns: an invitation result with status, per-email messages, and any users queued for administrator approval. See also:
access.invite_list_project,project.member_add,access.request_project.Required parameters:
access_level (integer),project_id (string|integer)Fine-grained token:
Invitation: Createat project
Access Request Request Groupaccess.request_groupRequest access to a group as the authenticated user. Returns: the created access request with id, username, name, requested state, and requested_at timestamp. See also:
access.request_list_group,access.approve_group,access.deny_group.Required parameters:
group_id (string|integer)Fine-grained token:
Access Request: Createat user
Access Request List Groupread-onlyaccess.request_list_groupList pending access requests for a group. Returns: access requests with id, username, name, state, whether the account is locked, the address the user publishes, the requested_at timestamp, and pagination metadata. A pending request carries no access level: GitLab grants one when it is approved. See also:
access.approve_group,access.deny_group,group.members.Required parameters:
group_id (string|integer)Fine-grained token:
Access Request: Readat group
Access Request List Projectread-onlyaccess.request_list_projectList pending access requests for a project. Returns: access requests with id, username, name, state, whether the account is locked, the address the user publishes, the requested_at timestamp, and pagination metadata. A pending request carries no access level: GitLab grants one when it is approved. See also:
access.approve_project,access.deny_project,project.members.Required parameters:
project_id (string|integer)Fine-grained token:
Access Request: Readat project
Access Request Request Projectaccess.request_projectRequest access to a project as the authenticated user. Returns: the created access request with id, username, name, requested state, and requested_at timestamp. See also:
access.request_list_project,access.approve_project,access.deny_project.Required parameters:
project_id (string|integer)Fine-grained token:
Access Request: Createat user
Group Access Token Createaccess.token_group_createUse for GitLab group access tokens: this action creates a group-scoped API token.
Required parameters:
group_id (string|integer),name (string),scopes (array)Fine-grained token:
Resource Access Token: Createat group
Group Access Token Getread-onlyaccess.token_group_getUse for GitLab group access tokens: this action gets a group-scoped API token.
Required parameters:
group_id (string|integer),token_id (integer)Fine-grained token:
Resource Access Token: Readat group
Group Access Token Listread-onlyaccess.token_group_listUse for GitLab group access tokens: this action lists group-scoped API tokens.
Required parameters:
group_id (string|integer)Fine-grained token:
Resource Access Token: Readat group
Group Access Token Revokedestructiveaccess.token_group_revokeUse for GitLab group access tokens: this action revokes a group-scoped API token.
Required parameters:
group_id (string|integer),token_id (integer)Fine-grained token:
Resource Access Token: Deleteat group
Group Access Token Rotatedestructiveaccess.token_group_rotateRotate a group access token: GitLab revokes it and issues a new token value in one step, so the old token stops working at once. Optionally set a new expiry date. Requires confirmation. Returns: JSON with the rotated access token including the new token value, shown only once. See also:
access.token_group_list,access.token_group_revoke.Required parameters:
group_id (string|integer),token_id (integer)Fine-grained token:
Resource Access Token: Rotateat group
Group Access Token Rotate Selfdestructiveaccess.token_group_rotate_selfRotate the group access token used for the current request: GitLab revokes it and issues a new value in one step, so this token stops working at once. Requires confirmation. Returns: JSON with the rotated access token including the new token value, shown only once. See also:
access.token_group_rotate,access.token_personal_rotate_self.Required parameters:
group_id (string|integer)Fine-grained token:
Resource Access Token: Rotateat group
Personal Access Token Getread-onlyaccess.token_personal_getUse for GitLab personal access tokens: this action gets a personal-scoped API token.
Required parameters: No required parameters
Fine-grained token:
Personal Access Token: Readat user
Personal Access Token Listread-onlyaccess.token_personal_listUse for GitLab personal access tokens: this action lists personal-scoped API tokens.
Required parameters: No required parameters
Fine-grained token:
Personal Access Token: Readat user
Personal Access Token Revokedestructiveaccess.token_personal_revokeUse for GitLab personal access tokens: this action revokes a personal-scoped API token.
Required parameters:
token_id (integer)Fine-grained token:
Personal Access Token: Revokeat user
Personal Access Token Revoke Selfdestructiveaccess.token_personal_revoke_selfUse for GitLab personal access tokens: this action revokes the personal-scoped token that authenticates this request itself, with no token_id parameter.
Required parameters: No required parameters
Fine-grained token:
Personal Access Token: Revokeat user
Personal Access Token Rotatedestructiveaccess.token_personal_rotateRotate a personal access token: GitLab revokes it and issues a new token value in one step, so the old token stops working at once. Optionally set a new expiry date. Requires confirmation. Returns: JSON with the rotated access token including the new token value, shown only once. See also:
access.token_personal_list,access.token_personal_revoke.Required parameters:
token_id (integer)Fine-grained token:
Personal Access Token: Rotateat user
Personal Access Token Rotate Selfdestructiveaccess.token_personal_rotate_selfRotate the personal access token used for the current request: GitLab revokes it and issues a new value in one step, so this token stops working at once. Requires confirmation. Returns: JSON with the rotated access token including the new token value, shown only once. See also:
access.token_personal_rotate,access.token_project_rotate_self.Required parameters: No required parameters
Fine-grained token:
Personal Access Token: Rotateat user
Project Access Token Createaccess.token_project_createUse for GitLab project access tokens: this action creates a project-scoped API token.
Required parameters:
name (string),project_id (string|integer),scopes (array)Fine-grained token:
Resource Access Token: Createat project
Project Access Token Getread-onlyaccess.token_project_getUse for GitLab project access tokens: this action gets a project-scoped API token.
Required parameters:
project_id (string|integer),token_id (integer)Fine-grained token:
Resource Access Token: Readat project
Project Access Token Listread-onlyaccess.token_project_listUse for GitLab project access tokens: this action lists project-scoped API tokens.
Required parameters:
project_id (string|integer)Fine-grained token:
Resource Access Token: Readat project
Project Access Token Revokedestructiveaccess.token_project_revokeUse for GitLab project access tokens: this action revokes a project-scoped API token.
Required parameters:
project_id (string|integer),token_id (integer)Fine-grained token:
Resource Access Token: Deleteat project
Project Access Token Rotatedestructiveaccess.token_project_rotateRotate a project access token: GitLab revokes it and issues a new token value in one step, so the old token stops working at once. Optionally set a new expiry date. Requires confirmation. Returns: JSON with the rotated access token including the new token value, shown only once. See also:
access.token_project_list,access.token_project_revoke.Required parameters:
project_id (string|integer),token_id (integer)Fine-grained token:
Resource Access Token: Rotateat project
Project Access Token Rotate Selfdestructiveaccess.token_project_rotate_selfRotate the project access token used for the current request: GitLab revokes it and issues a new value in one step, so this token stops working at once. Requires confirmation. Returns: JSON with the rotated access token including the new token value, shown only once. See also:
access.token_project_rotate,access.token_personal_rotate_self.Required parameters:
project_id (string|integer)Fine-grained token:
Resource Access Token: Rotateat project