Skip to main content
DELETE
/
v1
/
groups
/
{id}
/
state
/
tags
/
{tag}
Remove a tag from a group
curl --request DELETE \
  --url https://api.scrip.dev/v1/groups/{id}/state/tags/{tag} \
  --header 'X-API-Key: <api-key>'
{
  "code": "bad_request",
  "details": {
    "expected": "present",
    "field": "amount",
    "message": "This field is required",
    "reason": "required",
    "received": "<string>"
  },
  "message": "Invalid request parameters"
}
Removes a single tag from a group. The tag is specified in the URL path and is matched case-insensitively (tags are stored as lowercase). Removing a tag that does not exist on the group returns a successful response. Any rule conditions that reference the removed tag will no longer match for this group on subsequent evaluations.
For usage patterns and examples, see the State Management guide.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Path Parameters

id
string<uuid>
required

Group ID

tag
string
required

Tag value to remove

Response

Tag removed