Skip to main content
PATCH
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
rules
/
:ruleId
Update Rule
curl --request PATCH \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/rules/:ruleId \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": {}
}
'
Updates a rule’s title or description. Only space admins can update rules.

Path Parameters

spaceId
string
required
UUID of the space.
ruleId
string
required
UUID of the rule to update.

Body Parameters

title
string
Updated title.
description
string | null
Updated description. Pass null to clear.

Response

The updated Rule object. See also: useUpdateRule