프록시 삭제

이 섹션에서는 PinguProxy에서 프록시 삭제을 안정적으로 설정하는 방법을 설명합니다.

DELETE/proxies/delete

본문 매개변수

보안

Authorizationstring필수

JWT Bearer 토큰

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

요청 본문

idinteger필수

삭제할 프록시 ID

1const response = await fetch('https://api.pinguproxy.com/proxies/delete', {
2 method: 'DELETE',
3 headers: {
4 'Authorization': 'Bearer your-jwt-token',
5 'Content-Type': 'application/json'
6 },
7 body: JSON.stringify({
8 id: 1
9 })
10});
11
12const result = await response.json();

응답

상태 200
{
"success": true
}