Modify provider details
Modifies basic provider details in the zone.
Request body
New values for provider configuration parameters which should be changed.
| Property | Type & Description |
|---|---|
name string The name under which the provider has been registered in a zone. | |
subdomainDelegation boolean If enabled, the storage provider will be assigned a subdomain in onezone's domain and 'subdomain' property must be provided. If disabled, 'domain' property should be provided. | |
subdomain string Unique subdomain in onezone's domain for the provider. This property is required only if subdomain delegation is enabled. Otherwise it is ignored. | |
domain string The fully qualified domain name of the provider or its IP address (only for single-node deployments or clusters with a reverse proxy). This property is required only if subdomain delegation is disabled. Otherwise it is ignored. | |
geoLongitude number The geographical longitude of the provider. | |
geoLatitude number The geographical latitude of the provider. | |
adminEmail string Email address of the oneprovider administrator. | |
Request Examples
{
"name": "Provider1",
"subdomainDelegation": false,
"domain": "provider.example.com",
"geoLongitude": -24.3776025,
"geoLatitude": -128.3519364
}Responses
Provider details has been successfully modified.
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.