# UpdateWitness

**Arguments**

| Argument       | Description           | Type             |
| -------------- | --------------------- | ---------------- |
| owner\_address | The creator's address | string (**hex**) |
| update\_url    | Updated URL           | string (**hex**) |

**Body params**:&#x20;

* `owner_address` - Owner address, default hexString
* `update_url` - Website url, default hexString
* `permission_id` - Optional, for multi-signature use
* `visible` - Optional, Whether the address is in base58 format.

**Request**

```
curl --request POST \
     --url https://tron.api.watchdata.io/wallet/updatewitness \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "owner_address": "41d1e7a6bc354106cb410e65ff8b181c600ff14292",
     "update_url": "string",
     "permission_id": 0,
     "visible": true
}
'
```

**Response**

```
{
  "Error": "class org.tron.core.exception.ContractValidateException : Invalid url"
}
```
