YouTube वॉटरमार्क हटाएँ
curl --request DELETE \
--url https://api.ayrshare.com/api/post/youTubeWatermark \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ayrshare.com/api/post/youTubeWatermark', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ayrshare.com/api/post/youTubeWatermark"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ayrshare.com/api/post/youTubeWatermark",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ayrshare.com/api/post/youTubeWatermark"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.ayrshare.com/api/post/youTubeWatermark")
.header("Authorization", "Bearer <token>")
.asString();{
"status": "success",
"message": "Watermark removed successfully"
}
{
"status": "error",
"code": 250,
"message": "Insufficient permissions to remove watermark from this channel",
"details": "Original YouTube API error message"
}
{
"status": "error",
"code": 226,
"message": "Channel not found or no watermark exists to remove",
"details": "Requested entity was not found."
}
YouTube
YouTube वॉटरमार्क हटाएँ
अपने YouTube चैनल से वॉटरमार्क हटाएँ
DELETE
/
post
/
youTubeWatermark
YouTube वॉटरमार्क हटाएँ
curl --request DELETE \
--url https://api.ayrshare.com/api/post/youTubeWatermark \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ayrshare.com/api/post/youTubeWatermark', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ayrshare.com/api/post/youTubeWatermark"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ayrshare.com/api/post/youTubeWatermark",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ayrshare.com/api/post/youTubeWatermark"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.ayrshare.com/api/post/youTubeWatermark")
.header("Authorization", "Bearer <token>")
.asString();{
"status": "success",
"message": "Watermark removed successfully"
}
{
"status": "error",
"code": 250,
"message": "Insufficient permissions to remove watermark from this channel",
"details": "Original YouTube API error message"
}
{
"status": "error",
"code": 226,
"message": "Channel not found or no watermark exists to remove",
"details": "Requested entity was not found."
}
अपने YouTube चैनल से मौजूदा वॉटरमार्क हटाएँ। यह चैनल पर अपलोड किए गए सभी
मौजूदा और भविष्य के वीडियो से वॉटरमार्क हटा देगा।
हेडर पैरामीटर
बॉडी पैरामीटर
इस एंडपॉइंट के लिए कोई बॉडी पैरामीटर आवश्यक नहीं है।{
"status": "success",
"message": "Watermark removed successfully"
}
{
"status": "error",
"code": 250,
"message": "Insufficient permissions to remove watermark from this channel",
"details": "Original YouTube API error message"
}
{
"status": "error",
"code": 226,
"message": "Channel not found or no watermark exists to remove",
"details": "Requested entity was not found."
}
⌘I
