cURL - Delete World
Scope
Delete an Adventure World under the current primary account. Before calling, confirm the following:
- Only the primary API Key is supported; temporary API Keys cannot be used (error code
403003). - Delete with the
encryptedWorldIdreturned by Create World. This endpoint does not accept the request body fielduserAgent. - Called by your server.
Authorizations
string
header
required
QwenCloud API Key. Only the primary API Key (sk- prefix) is supported. See Get an API Key.
Header Parameters
string
default"application/json"
required
Request content type. This parameter must be set to application/json.
string
required
API Key authentication. Only the primary API Key is supported; it starts with sk-, e.g. sk-xxx. It is typically configured as the environment variable $DASHSCOPE_API_KEY. A temporary API Key (starting with st-) returns 403003.
Body
application/jsonstring
required
The Adventure encrypted World ID to delete. Returned by Create World.