How come I am able to delete asset in media library using cloudinary.uploader.destroy() API with no explicit signature?

Comments

1 comment

  • Avatar
    Stephen Doyle

    Hi Nick,

    When you configure the SDK with your API key, API secret, and cloud name for your account, the SDK uses that information to calculate the necessary authentication details when making API calls on your behalf.

    In general, if you're using one of our server-side SDKs, you won't need to create the Authorization header values (Admin API) or signature values (Upload API) yourself, the SDK will do so automatically. (one exception is if you're creating a signature to pass to front-end code which will use it to make an API call)

    Regards,

    Stephen

    0
    Comment actions Permalink

Please sign in to leave a comment.