GitLab API icon

GitLab API

Gitlab

Actions1062

Namespaces → getApiV4NamespacesIdGitlabSubscription

AI-generated

Summary

Retrieves the GitLab subscription for a namespace by its ID.

Inputs

  • id (required) — The ID of the namespace (path parameter).
  • skipAuthentication — If true, authentication is skipped; defaults to false.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use; defaults to GET.

Output shape

object

The JSON response from the /api/v4/namespaces/{id}/gitlab_subscription endpoint.

Examples

Example 1: Fetch subscription for namespace 42

Set id=42 (path parameter). Leave other fields at defaults.

Links

Discussion