GitLab API icon

GitLab API

Gitlab

Actions1062

Environments → deleteApiV4ProjectsIdEnvironmentsEnvironmentId

AI-generated

Summary

Deletes an environment from a GitLab project by sending a DELETE request to /api/v4/projects/{id}/environments/{environment_id}.

Inputs

  • id (required) — The ID or URL-encoded path of the project owned by the authenticated user
  • environment_id (required) — The ID of the environment
  • skipAuthentication — When enabled, the request is sent without GitLab authentication headers
  • baseUrl — Base URL of the GitLab instance

Output shape

GitLab API response body

Returns the GitLab API response for the DELETE request

Links

Discussion