Skip to content

Dependencies API: DELETE #8426

Description

@khvn26

Add DELETE /api/v1/environments/{environment_api_key}/features/{feature}/dependencies/{prerequisite_feature}.

DELETE:

  • removes a correspodning rule.
  • if the rule was the last one, removes the segment.

Acceptance criteria

  • DELETE removes the rule for a given prerequisite feature.
  • DELETE removes the segment if the rule for a given prerequisite feature was the last one.
  • DELETE for a dependency arising from a user-authored segment is refused with a 400.
  • V2 versioning environments get a published version.
  • V1 versioning environments get a direct write.
  • Both V2 and V1 versioned environments emit audit logs.
  • Requires MANAGE_SEGMENT_OVERRIDES on the environment.
  • A caller who can not write on the environment gets 404.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions