GitLab API

GitlabTool

Actions905

Overview

This node operation deletes an external identity provider linked to a specific user in GitLab via the GitLab API. It is useful for managing user identities by removing associations with external authentication providers, such as OAuth providers or SAML identities. For example, an admin can use this operation to unlink a user's GitLab account from an external provider when the user no longer uses that provider or for security reasons.

Use Case Examples

  1. Deleting a user's linked Google OAuth identity from their GitLab account.
  2. Removing a SAML identity provider association for a user in GitLab.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, defaulting to GET but set to DELETE for this operation.
Path Parameters Parameters used in the API request path to specify the user ID and the external provider to delete.

Output

JSON

  • response - The JSON response from the GitLab API after deleting the user's external identity provider, typically indicating success or failure of the operation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the user ID and provider parameters are correctly specified and valid, as incorrect values will cause the API request to fail.
  • Authentication errors may occur if the GitLab API key credential is missing, invalid, or lacks sufficient permissions to delete user identities.
  • Network or base URL misconfiguration can cause connection failures; verify the baseUrl is correct for the GitLab instance in use.

Links

Discussion