GitLab API

GitlabTool

Actions905

Overview

This node operation deletes a storage limit exclusion for a specific namespace in GitLab. It is useful for managing storage quotas by removing exceptions that allow certain namespaces to exceed storage limits. For example, an administrator can use this operation to revoke storage limit exclusions for a project or group namespace to enforce storage policies.

Use Case Examples

  1. Deleting a storage limit exclusion for a namespace with ID 12345 to enforce storage limits.
  2. Removing storage limit exceptions for a namespace to manage storage usage effectively.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key or token.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request, which is DELETE for this operation.
Path Parameters The path parameters required for the request, specifically the 'id' of the namespace to delete the storage limit exclusion for.

Output

JSON

  • success - Indicates whether the deletion of the storage limit exclusion was successful.
  • statusCode - HTTP status code returned by the API after the delete operation.

Dependencies

  • GitLab API authentication token or API key

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to a valid namespace ID; otherwise, the API will return an error.
  • Authentication errors may occur if the API key or token is missing or invalid; verify credentials are correctly configured.
  • The base URL must point to a valid GitLab instance; incorrect URLs will cause request failures.
  • The user must have sufficient permissions to delete storage limit exclusions for the namespace; lack of permissions will result in authorization errors.

Links

Discussion