---
title: "Delete a scoring function"
method: DELETE
path: "/scoring/functions/{scoringFunctionName}"
tags: ["Scoring", "Functions"]
---

# Delete a scoring function

`DELETE /scoring/functions/{scoringFunctionName}`

## Request

- Base URL: `/management/v2/environments/DEFAULT` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/environments/DEFAULT/scoring/functions/{scoringFunctionName}`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

## Path parameters

- `scoringFunctionName` string, required: The name of ruleset

## Response `204`

Scoring function deleted

## Other responses

- `default`: Generic error response

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-environments/revisions/b736a7e375df?raw)
