All Products
Search
Document Center

ApsaraVideo VOD:SetAppPlayKey

Last Updated:Dec 08, 2025

Sets the playback key for an application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

No

The application ID. The default value is app-1000000. For more information, see Multi-application management.

app-1000231

PlayKey

string

No

The playback key.

  • The key must be 8 to 20 characters in length and can contain only uppercase letters, lowercase letters, and digits.

  • The key must be UTF-8 encoded.

yzNgTUtAl6HAuosIA

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

25818875-5F78-4A*****F6-D7393642CA58

Examples

Success response

JSON format

{
  "RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.