On this page

DeletePlayer

POST

https://cloud-player-api.zego.im/

Call this API to destroy the specified cloud player.

Note
Call frequency limit: 20 times/second

Request

Query Parameters

    Action stringrequired

    Possible values: [DeletePlayer]

    API prototype parameter

    https://cloud-player-api.zego.im?Action=DeletePlayer

    AppId uint32required

    💡Common parameter. Application Id, a unique user credential assigned by ZEGOCLOUD. Can be obtained from ZEGOCLOUD Console.

    SignatureNonce stringrequired

    💡Common parameter. 16-digit hexadecimal random string (hex encoding of 8-byte random number). For the generation algorithm, please refer to Signature Example.

    Timestamp int64required

    💡Common parameter. Current Unix timestamp, unit is seconds. For the generation algorithm, please refer to Signature Example, a maximum error of 10 minutes is allowed.

    SignatureVersion stringrequired

    Possible values: [2.0]

    Default value: 2.0

    💡Common parameter. Signature version number.

    Signature stringrequired

    💡Common parameter. Signature, used to verify the legitimacy of the request. Please refer to Signature Mechanism for generation.

Body

required
    PlayerId stringrequired

    Cloud player unique identifier ID, returned by CreatePlayer. When calling this API, please ensure that the PlayerId exists, otherwise an error may occur.

Responses​

OK
Schema
    Code number

    Error code.

    The following only lists the return codes related to the API business logic. For the complete return codes, please refer to Global Return Codes.

    Return CodeDescriptionHandling Suggestion
    0Success.-
    100000004Signature expired.Please regenerate the signature.
    100000005Signature error.Please confirm whether the parameters for generating the signature are correct.
    350006001API request frequency exceeds the limit.Please confirm the QPS limit of the corresponding API and reduce the request frequency.
    350006002Gateway verification failed.Please contact ZEGOCLOUD Technical Support for assistance.
    350006003Invalid input parameter.Please adjust the value of the corresponding parameter according to the Message prompt.
    350006006Service not activated.Please contact ZEGOCLOUD Technical Support to activate the service permission.
    350006009Cloud player is being created.Please retry this operation later.
    350010000System error.Please contact ZEGOCLOUD Technical Support for assistance.
    Message string

    Error description.

    RequestId string

    Request ID.

Previous

Update a cloud player

Next

Query the task list of a cloud player

On this page

Back to top