GitLab API

GitlabTool

Actions905

Overview

This node operation allows updating the avatar of the authenticated user on GitLab by sending a PUT request to the /api/v4/user/avatar endpoint. It is useful for automating profile customization or managing user avatars programmatically in GitLab environments.

Use Case Examples

  1. Automatically update user avatar after a profile update event.
  2. Set user avatars in bulk for a team using automation workflows.

Properties

Name Meaning
Skip Authentication If true, the node skips using authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to PUT for this operation.

Output

JSON

  • response - The JSON response from GitLab after updating the user avatar, typically containing user details and avatar URL.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the GitLab API key credential is valid and has permission to update the user avatar.
  • Verify the baseUrl is correct and accessible.
  • Check that the request body contains the required avatar data in the correct format.
  • Common errors include authentication failures, invalid avatar data, or permission denied errors.

Links

Discussion