Update Account Settings
Updates the settings of your active account. Currently this renames the account. The change applies to the account your token is scoped to — see /account to read the current settings.
Requires the settings:update permission. The account owner always has it; other members need a custom role that grants it.
Request body
name string Req
The new account display name. Leading/trailing whitespace is trimmed. Must be non-empty after trimming and at most 255 characters.
Response (200 OK)
success bool
true when the account was updated.Errors
400 Bad Request
Body could not be parsed, contained unknown fields, or
name was empty or longer than 255 characters.401 Unauthorized
Missing or invalid auth.
403 Forbidden
No active account selected, or you lack the
settings:update permission in this account.Request
curl -X PUT "https://api.ngris.com/v1/account/settings" \
-H "X-API-KEY: <your_api_key>" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Production"}'
Python
from ngris import Ngris
client = Ngris(api_key="<your_api_key>")
client.account.update_settings(name="Acme Production")
Response — 200 OK
{
"success": true
}