GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes an external identity provider linked to a specific user in GitLab. It is useful for managing user identities by removing associations with external authentication providers, such as OAuth providers. For example, an admin can use this operation to unlink a user's GitLab account from a third-party identity provider.

Use Case Examples

  1. Deleting an external identity provider for a user to revoke their external login access.
  2. Managing user identities by removing outdated or incorrect external provider links.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication The authentication method used for the API request, defaulting to GitLab API key.
baseUrl The base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters for the API path, including user ID and external provider name.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • responseBody - Response body returned from the API after deleting the external identity provider.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the user ID and provider name are correctly specified; otherwise, the API will return an error indicating the resource was not found.
  • If authentication is skipped or invalid, the API will return an authentication error; ensure valid credentials are provided unless skipping authentication is intentional.
  • Verify the base URL is correct for the GitLab instance being accessed to avoid connection errors.

Links

Discussion