Ağ bilgilerini değiştirir.
Operation description
Hız sınırı: Saniyede 100 istek.\n\n- Kullanıcı başına saniyede en fazla 5 istek.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ModifyNetworkAttribute |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NetworkId |
string |
Yes |
Ağ kimliği. |
n-**** |
| NetworkName |
string |
No |
Ağın adı. Ad aşağıdaki gereksinimleri karşılamalıdır:\n\n- Adın uzunluğu 2 ila 128 karakter arasında olmalıdır.\n\n- Bir harfle başlamalıdır, ancak http:// veya https:// ile başlayamaz.\n\n- Ad; harfler, rakamlar, iki nokta (:), alt çizgi (_) ve tire (-) içerebilir. |
abc |
| Description |
string |
No |
Ağın açıklaması.\n\nAçıklama 2 ila 256 karakter uzunluğunda olmalıdır. Bir harfle başlamalıdır, ancak http:// veya https:// ile başlayamaz. |
this is my first network |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İstek kimliği. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter | |
| 400 | InvalidNetworkId.NotFound | Network not found | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.