POST/organization/external_storage

Create an external storage configuration

Creates a customer-managed external storage configuration for a project. Supply project_id and a provider object containing the configuration fields required by the selected storage provider. The response includes the configuration's identifier, geography, and status.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields

Customer-managed external storage configuration for a project.

project_idstringrequired
The ID of the project for this external storage configuration.
providerobjectrequired
Provider-specific configuration for the customer-managed storage. Include the required fields for the selected provider.

5 status codes
200Returns the created external storage configuration, including its identifier, project, provider, geography, status, and creation time.
objectstringrequired
Allowed:organization.external_storageDefault:organization.external_storage
idstringrequired
project_idstringrequired
providerobjectrequired
geographystringrequired
statusstringrequired
Allowed:pendingvalidateddegradedunhealthy
created_atintegerrequired
400Returned when the external storage request is invalid or the organization or project does not support it.
errorobjectrequired
403Returned when the caller does not have permission to perform this operation.
errorobjectrequired
404Returned when the organization, project, or external storage was not found.
errorobjectrequired
503Returned when external storage registration is temporarily unavailable.
errorobjectrequired

Error handling

project_id and provider are required. The provider object must include the required configuration fields for its selected provider. A 400 is returned when the request is invalid or the organization or project does not support the configuration; a 403 indicates insufficient permission, a 404 indicates that the organization, project, or external storage was not found, and a 503 indicates that registration is temporarily unavailable.