You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -296,7 +296,7 @@ List account permissions with user-friendly descriptions. Some permissions (such
296
296
Replace account identity. Requires token with scope `account.details.identity.update`.
297
297
298
298
-`username` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)</code> Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
299
-
-`name` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [null](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/null)</code> Your full name. Set to `null` to remove.
299
+
-`name` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [null](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/null)</code> Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`.
@@ -330,7 +330,7 @@ Set your primary e-mail address. Requires token with scope `account.details.emai
330
330
Update account identity. Requires token with scope `account.details.identity.update`.
331
331
332
332
-`username` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)</code> Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
333
-
-`name` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [null](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/null)</code> Your full name. Set to `null` to remove.
333
+
-`name` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [null](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/null)</code> Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`.
334
334
- Returns: <code>[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Cloudnode.ApiResponse](#class-cloudnodeapiresponset)<[Cloudnode.AccountIdentity](#interface-cloudnodeaccountidentity) | [void](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)>></code> `void` if nothing was changed.
Copy file name to clipboardExpand all lines: browser/Cloudnode.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -471,7 +471,7 @@ class Cloudnode {
471
471
* Update account identity
472
472
* @PATCH /account/identity
473
473
* @param username Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
474
-
* @param name Your full name. Set to `null` to remove.
474
+
* @param name Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`
returnawaitthis.#sendRequest({"type": "operation","description": "Update account identity","token": "account.details.identity.update","method": "PATCH","path": "/account/identity","parameters": {"body": {"username": {"description": "Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.","type": "string","required": true},"name": {"description": "Your full name. Set to `null` to remove.","type": "string | null","required": false}}},"returns": [{"status": 200,"type": "AccountIdentity"},{"status": 204,"type": "void","description": "`void` if nothing was changed."},{"status": 404,"type": "Error & {code: \"RESOURCE_NOT_FOUND\"}"},{"status": 409,"type": "Error & {code: \"CONFLICT\"}"},{"status": 422,"type": "Error & {code: \"INVALID_DATA\"}"},{"status": 401,"type": "Error & {code: \"UNAUTHORIZED\"}"},{"status": 403,"type": "Error & {code: \"NO_PERMISSION\"}"},{"status": 429,"type": "Error & {code: \"RATE_LIMITED\"}"},{"status": 500,"type": "Error & {code: \"INTERNAL_SERVER_ERROR\"}"},{"status": 503,"type": "Error & {code: \"MAINTENANCE\"}"}]},{},{},{ username, name });
486
+
returnawaitthis.#sendRequest({"type": "operation","description": "Update account identity","token": "account.details.identity.update","method": "PATCH","path": "/account/identity","parameters": {"body": {"username": {"description": "Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.","type": "string","required": true},"name": {"description": "Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`","type": "string | null","required": false}}},"returns": [{"status": 200,"type": "AccountIdentity"},{"status": 204,"type": "void","description": "`void` if nothing was changed."},{"status": 404,"type": "Error & {code: \"RESOURCE_NOT_FOUND\"}"},{"status": 409,"type": "Error & {code: \"CONFLICT\"}"},{"status": 422,"type": "Error & {code: \"INVALID_DATA\"}"},{"status": 401,"type": "Error & {code: \"UNAUTHORIZED\"}"},{"status": 403,"type": "Error & {code: \"NO_PERMISSION\"}"},{"status": 429,"type": "Error & {code: \"RATE_LIMITED\"}"},{"status": 500,"type": "Error & {code: \"INTERNAL_SERVER_ERROR\"}"},{"status": 503,"type": "Error & {code: \"MAINTENANCE\"}"}]},{},{},{ username, name });
487
487
},
488
488
/**
489
489
* Replace account identity
490
490
* @PUT /account/identity
491
491
* @param username Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
492
-
* @param name Your full name. Set to `null` to remove.
492
+
* @param name Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`
Copy file name to clipboardExpand all lines: schema.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1042,7 +1042,7 @@
1042
1042
"required": true
1043
1043
},
1044
1044
"name": {
1045
-
"description": "Your full name. Set to `null` to remove.",
1045
+
"description": "Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`",
1046
1046
"type": "string | null",
1047
1047
"required": false
1048
1048
}
@@ -1086,7 +1086,7 @@
1086
1086
"required": true
1087
1087
},
1088
1088
"name": {
1089
-
"description": "Your full name. Set to `null` to remove.",
1089
+
"description": "Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`",
Copy file name to clipboardExpand all lines: src/Cloudnode.d.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -268,7 +268,7 @@ declare class Cloudnode {
268
268
* Update account identity
269
269
* @PATCH /account/identity
270
270
* @param username Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
271
-
* @param name Your full name. Set to `null` to remove.
271
+
* @param name Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`
* @param username Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
287
-
* @param name Your full name. Set to `null` to remove.
287
+
* @param name Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`
Copy file name to clipboardExpand all lines: src/Cloudnode.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -471,7 +471,7 @@ class Cloudnode {
471
471
* Update account identity
472
472
* @PATCH /account/identity
473
473
* @param username Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
474
-
* @param name Your full name. Set to `null` to remove.
474
+
* @param name Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`
returnawaitthis.#sendRequest({"type": "operation","description": "Update account identity","token": "account.details.identity.update","method": "PATCH","path": "/account/identity","parameters": {"body": {"username": {"description": "Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.","type": "string","required": true},"name": {"description": "Your full name. Set to `null` to remove.","type": "string | null","required": false}}},"returns": [{"status": 200,"type": "AccountIdentity"},{"status": 204,"type": "void","description": "`void` if nothing was changed."},{"status": 404,"type": "Error & {code: \"RESOURCE_NOT_FOUND\"}"},{"status": 409,"type": "Error & {code: \"CONFLICT\"}"},{"status": 422,"type": "Error & {code: \"INVALID_DATA\"}"},{"status": 401,"type": "Error & {code: \"UNAUTHORIZED\"}"},{"status": 403,"type": "Error & {code: \"NO_PERMISSION\"}"},{"status": 429,"type": "Error & {code: \"RATE_LIMITED\"}"},{"status": 500,"type": "Error & {code: \"INTERNAL_SERVER_ERROR\"}"},{"status": 503,"type": "Error & {code: \"MAINTENANCE\"}"}]},{},{},{ username, name });
486
+
returnawaitthis.#sendRequest({"type": "operation","description": "Update account identity","token": "account.details.identity.update","method": "PATCH","path": "/account/identity","parameters": {"body": {"username": {"description": "Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.","type": "string","required": true},"name": {"description": "Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`","type": "string | null","required": false}}},"returns": [{"status": 200,"type": "AccountIdentity"},{"status": 204,"type": "void","description": "`void` if nothing was changed."},{"status": 404,"type": "Error & {code: \"RESOURCE_NOT_FOUND\"}"},{"status": 409,"type": "Error & {code: \"CONFLICT\"}"},{"status": 422,"type": "Error & {code: \"INVALID_DATA\"}"},{"status": 401,"type": "Error & {code: \"UNAUTHORIZED\"}"},{"status": 403,"type": "Error & {code: \"NO_PERMISSION\"}"},{"status": 429,"type": "Error & {code: \"RATE_LIMITED\"}"},{"status": 500,"type": "Error & {code: \"INTERNAL_SERVER_ERROR\"}"},{"status": 503,"type": "Error & {code: \"MAINTENANCE\"}"}]},{},{},{ username, name });
487
487
},
488
488
/**
489
489
* Replace account identity
490
490
* @PUT /account/identity
491
491
* @param username Your unique username. Between 3 and 20 characters. Only letters, numbers, dashes and underscores. May not start with `user_`.
492
-
* @param name Your full name. Set to `null` to remove.
492
+
* @param name Your full name. Set to `null` to remove. Min 2 characters, max 32. Allowed characters (lowercase as well): A–Z `',-.,` and `ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞSŸ`
0 commit comments