Update token configuration

更新时间:
复制 MD 格式

Updates token configurations, such as the attached role, default main model, and VAE model.

Description

Updates the token configuration.

Prerequisites

You have integrated the Intelligent Creation Workshop SDK. For more information, see the Legacy SDK Reference.

Authorization

Authentication requires an AccessKey ID and AccessKey Secret (AK/SK). To obtain them, see API Authorization.

Endpoint

https://openai.edu-aliyun.com

Request path

/scc/sp_put_user_state

Request parameters

Name

Type

Required

Description

Example

apiToken

string

Yes

The token.

01j1w6cxqz****

sceneRoleId

string

No

The ID of the role to attach.

01j2bapbjd****

sdCheckpointFileId

string

No

The main model.

sdVae

string

No

The VAE model.

Response parameters

Name

Type

Description

status

integer

The status code. A value of 10 indicates success. A value of 20 indicates failure.

errCode

string

The error code.

errMessage

string

The error details.