This topic describes how to use the API to set configurations for a specified tenant. You can set multiple configurations for a tenant at a time.
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| parameters | map[string]interface{} | Yes | { "backup_data_file_size": "2G", "arbitration_timeout": "10s" } |
The configurations of the tenant. |
Request examples
PUT /api/v1/tenant/t1/parameters
Response examples
References
In addition to calling the API through the CLI, you can also call the API through SDK methods.
For more information about how to call the API through obshell-sdk-python, see Modify tenant configurations.
For more information about how to call the API through obshell-sdk-go, see Modify tenant configurations.