Create an external storage configuration
admin.organization.external_storage.create(**kwargs) -> OrganizationExternalStorage { id, created_at, geography, 4 more }
POST/organization/external_storage
Create an external storage configuration
require "openai"
openai = OpenAI::Client.new(admin_api_key: "My Admin API Key")
organization_external_storage = openai.admin.organization.external_storage.create(
project_id: "proj_123",
provider: {bucket: "bucket", role_arn: "role_arn", type: :aws}
)
puts(organization_external_storage){
"id": "id",
"created_at": 0,
"geography": "geography",
"object": "organization.external_storage",
"project_id": "project_id",
"provider": {
"account_id": "account_id",
"bucket": "bucket",
"external_id": "external_id",
"region": "region",
"role_arn": "role_arn",
"type": "aws"
},
"status": "pending"
}Returns Examples
{
"id": "id",
"created_at": 0,
"geography": "geography",
"object": "organization.external_storage",
"project_id": "project_id",
"provider": {
"account_id": "account_id",
"bucket": "bucket",
"external_id": "external_id",
"region": "region",
"role_arn": "role_arn",
"type": "aws"
},
"status": "pending"
}