/v2/projects/{projectId}/content-storagesCreate content storage
Creates a content storage configuration for a project, using Azure or S3 settings. Supply name and the configuration fields for the storage provider you use; name can contain up to 100 characters and publicUrlPrefix up to 255 characters. A 200 response returns the created content storage with its identifier and configuration.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Content storage name, optional public URL prefix, and configuration for the storage provider. Supply name; include the provider configuration you need.
A 400 is returned when the request is invalid, a 401 when authentication is missing or invalid, a 403 when access is forbidden, and a 404 when the project is not found. name is required; containerName is required in azureContentStorageConfig, and bucketName, endpoint, path, publicRead, and signingRegion are required in s3ContentStorageConfig. The projectId path parameter must identify an existing project.