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.

Back to the server card

  1. access.approve_group

    Access Request Approve Group

    Approve 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: Approve at group. Some calls also need: Group: Read and Member: Read at group

  2. access.approve_project

    Access Request Approve Project

    Approve 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: Approve at project

  3. access.deny_group

    Access Request Deny Groupdestructive

    Deny 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: Delete at group or user

  4. access.deny_project

    Access Request Deny Projectdestructive

    Deny 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: Delete at project or user

  5. access.deploy_key_add

    Deploy Key Adddestructive

    Add 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: Create at project

  6. access.deploy_key_add_instance

    Deploy Key Add Instance

    Create 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: Create at instance

  7. access.deploy_key_delete

    Deploy Key Deletedestructive

    Delete 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: Delete at project

  8. access.deploy_key_enable

    Deploy Key Enabledestructive

    Enable 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: Enable at project

  9. access.deploy_key_get

    Deploy Key Getread-only

    Get 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: Read at project

  10. access.deploy_key_list_all

    Deploy Key List Allread-only

    List ALL instance-level SSH deploy keys in one call (admin only). Use this instead of access.deploy_key_list_project when 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: Read at instance

  11. access.deploy_key_list_project

    Deploy Key List Projectread-only

    List 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: Read at project

  12. access.deploy_key_list_user_project

    Deploy Key List User Projectread-only

    List 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: Read at user

  13. access.deploy_key_update

    Deploy Key Update

    Update 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: Update at project

  14. access.deploy_token_create_group

    Deploy Token Create Group

    Create 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: Create at group

  15. access.deploy_token_create_project

    Deploy Token Create Project

    Create 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: Create at project

  16. access.deploy_token_delete_group

    Deploy Token Delete Groupdestructive

    Permanently 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: Delete at group

  17. access.deploy_token_delete_project

    Deploy Token Delete Projectdestructive

    Permanently 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: Delete at project

  18. access.deploy_token_get_group

    Deploy Token Get Groupread-only

    Get 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: Read at group

  19. access.deploy_token_get_project

    Deploy Token Get Projectread-only

    Get 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: Read at project

  20. access.deploy_token_list_all

    Deploy Token List Allread-only

    List ALL deploy tokens across the GitLab instance in one call (admin only). Use this instead of access.deploy_token_list_project or access.deploy_token_list_group when 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: Read at instance

  21. access.deploy_token_list_group

    Deploy Token List Groupread-only

    List 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: Read at group

  22. access.deploy_token_list_project

    Deploy Token List Projectread-only

    List 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: Read at project

  23. access.invite_group

    Group Invite

    Invite 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: Create at group

  24. access.invite_list_group

    Group Invite List Pendingread-only

    List 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: Read at group

  25. access.invite_list_project

    Project Invite List Pendingread-only

    List 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: Read at project

  26. access.invite_project

    Project Invite

    Invite 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: Create at project

  27. access.request_group

    Access Request Request Group

    Request 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: Create at user

  28. access.request_list_group

    Access Request List Groupread-only

    List 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: Read at group

  29. access.request_list_project

    Access Request List Projectread-only

    List 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: Read at project

  30. access.request_project

    Access Request Request Project

    Request 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: Create at user

  31. access.token_group_create

    Group Access Token Create

    Use 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: Create at group

  32. access.token_group_get

    Group Access Token Getread-only

    Use 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: Read at group

  33. access.token_group_list

    Group Access Token Listread-only

    Use for GitLab group access tokens: this action lists group-scoped API tokens.

    Required parameters: group_id (string|integer)

    Fine-grained token: Resource Access Token: Read at group

  34. access.token_group_revoke

    Group Access Token Revokedestructive

    Use 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: Delete at group

  35. access.token_group_rotate

    Group Access Token Rotatedestructive

    Rotate 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: Rotate at group

  36. access.token_group_rotate_self

    Group Access Token Rotate Selfdestructive

    Rotate 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: Rotate at group

  37. access.token_personal_get

    Personal Access Token Getread-only

    Use for GitLab personal access tokens: this action gets a personal-scoped API token.

    Required parameters: No required parameters

    Fine-grained token: Personal Access Token: Read at user

  38. access.token_personal_list

    Personal Access Token Listread-only

    Use for GitLab personal access tokens: this action lists personal-scoped API tokens.

    Required parameters: No required parameters

    Fine-grained token: Personal Access Token: Read at user

  39. access.token_personal_revoke

    Personal Access Token Revokedestructive

    Use for GitLab personal access tokens: this action revokes a personal-scoped API token.

    Required parameters: token_id (integer)

    Fine-grained token: Personal Access Token: Revoke at user

  40. access.token_personal_revoke_self

    Personal Access Token Revoke Selfdestructive

    Use 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: Revoke at user

  41. access.token_personal_rotate

    Personal Access Token Rotatedestructive

    Rotate 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: Rotate at user

  42. access.token_personal_rotate_self

    Personal Access Token Rotate Selfdestructive

    Rotate 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: Rotate at user

  43. access.token_project_create

    Project Access Token Create

    Use 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: Create at project

  44. access.token_project_get

    Project Access Token Getread-only

    Use 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: Read at project

  45. access.token_project_list

    Project Access Token Listread-only

    Use for GitLab project access tokens: this action lists project-scoped API tokens.

    Required parameters: project_id (string|integer)

    Fine-grained token: Resource Access Token: Read at project

  46. access.token_project_revoke

    Project Access Token Revokedestructive

    Use 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: Delete at project

  47. access.token_project_rotate

    Project Access Token Rotatedestructive

    Rotate 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: Rotate at project

  48. access.token_project_rotate_self

    Project Access Token Rotate Selfdestructive

    Rotate 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: Rotate at project