GitLab API icon

GitLab API

Gitlab

Actions880

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 an external provider like Google or GitHub.

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 Whether to skip authentication for the request.
Authentication The authentication method used, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, default is https://gitlab.com.
Method The HTTP method to use for the request, default is GET but DELETE is relevant here.
Path Parameters Parameters to specify the user ID and the external provider to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • responseBody - The body of the response returned by the GitLab API after deleting the identity provider.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the user ID and provider parameters are correctly specified; otherwise, the API call will fail.
  • Authentication errors may occur if the GitLab API key is missing or invalid.
  • The operation requires DELETE HTTP method; using other methods may result in errors.

Links

Discussion