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": "uuid",
    "field": "asset_id",
    "fields": [
      {
        "expected": "<unknown>",
        "field": "amount",
        "message": "This field is required",
        "reason": "required",
        "received": "<string>"
      }
    ],
    "reason": "invalid",
    "received": "<string>"
  },
  "message": "Invalid request parameters"
}

Documentation Index

Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt

Use this file to discover all available pages before exploring further.

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