Eliminar la marca de agua de 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
Eliminar la marca de agua de YouTube
Elimina la marca de agua de tu canal de YouTube
DELETE
/
post
/
youTubeWatermark
Eliminar la marca de agua de 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."
}
Elimina la marca de agua existente de tu canal de YouTube. Esto eliminará la
marca de agua de todos los vídeos existentes y futuros subidos al canal.
Parámetros de cabecera
Parámetros del cuerpo
Este endpoint no requiere parámetros en el cuerpo.{
"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
