GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → putApiV4ProjectsIdCustomAttributesKey

AI-generated

Summary

Update a custom attribute for a specific GitLab project identified by its ID and the attribute key.

Inputs

  • key (required) — The key of the custom attribute to update.
  • id (required) — The ID of the GitLab project to update.
  • putApiV4ProjectsIdCustomAttributesKey (required) — The request body containing the new value or data for the custom attribute.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authenticating this request.

Output shape

a single updated custom attribute object

Returns the updated custom attribute for the specified project and key. Requires supplying valid project ID, attribute key path parameters, and a request body with the updated custom attribute data.

Examples

Example 1: Update a project custom attribute 'release' with new value

Set 'id' to the target project ID, 'key' to 'release', and provide the updated attribute value in the request body.

Links

Discussion