Skip to main content

SaveOrUpdateOssConfig

Configuration: Cloud storage parameter settings

Try it now

You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.

Authorization information

No authorization information is available for this API currently.

Request parameters

Parameter

Type

Required

Description

Example

BucketName

string

No

The name of the OSS bucket.

xxx

EndPoint

string

No

The endpoint of OSS.

oss-cn-shanghai.aliyuncs.com

WorkspaceId

string

Yes

The unique ID of the Alibaba Cloud Model Studio workspace. For more information, see Get a workspace ID.

llm-xxx

Response elements

Element

Type

Description

Example

object

The response schema.

Code

string

The status code.

DataNotExists

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

success

RequestId

string

The ID of the request.

F2F366D6-E9FE-1006-BB70-2C650896AAB5

Success

boolean

Indicates whether the request was successful. `true` indicates success. `false` indicates failure.

true

Data

object

The business data.

BucketName

string

The name of the OSS bucket.

xxx

Endpoint

string

The endpoint of OSS.

oss-cn-shanghai.aliyuncs.com

Enable

string

Indicates whether the OSS configuration is active. `1`: The configuration is active. `0`: The configuration is inactive.

1

Examples

Success response JSON format
{
  "Code": "DataNotExists",
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
  "Success": true,
  "Data": {
    "BucketName": "xxx",
    "Endpoint": "oss-cn-shanghai.aliyuncs.com",
    "Enable": "1"
  }
}

Error codes

For more error codes, visit the Error Center.

Change history

For more information, see Change details.