---
title: "Update an existing intent name and definition."
method: POST
path: "/warden.intent.Msg/UpdateIntent"
tags: ["Msg"]
---

# Update an existing intent name and definition.

`POST /warden.intent.Msg/UpdateIntent`

## Request body

- object
  - `creator` string
  - `id` string, uint64
  - `name` string
  - `definition` string

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/wardenprotocol/apis/http-api-console.md) · [All operations](https://skmtc.dev/wardenprotocol/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wardenprotocol/http-api-console/revisions/44399dd0ab35/schema)
