GitLab API icon

GitLab API

Gitlab

Actions1062

Namespaces → putApiV4NamespacesId

AI-generated

Summary

Updates a GitLab namespace by ID using a PUT request to /api/v4/namespaces/{id}.

Inputs

  • id (required) — The numeric ID of the namespace to update
  • body (required) — Payload conforming to GitLab's PUT /namespaces/:id schema
  • skipAuthentication — If true, skips credential usage; otherwise uses the gitlabApi credential
  • baseUrl — Base URL for the GitLab instance (default: https://gitlab.com)

Output shape

object

Returns the updated namespace as returned by GitLab API

Examples

Example 1: Rename a namespace

Set id to the target namespace ID and provide name in the body

Links

Discussion