„DELETE /dns/reverse/{ipaddress}/record“ ändern

master
Thomas Brinkmann 3 years ago
parent 39a44d361a
commit 76c9c05cb6
  1. 4
      DELETE-%2Fdns%2Freverse%2F%7Bipaddress%7D%2Frecord.md

@ -40,7 +40,7 @@
$curl = curl_init(); $curl = curl_init();
curl_setopt_array($curl, array( curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/dns/reverse/x.x.x.x/record', CURLOPT_URL => 'https://api.dsh.gg/api/v2/dns/reverse/x.x.x.x/record',
CURLOPT_CUSTOMREQUEST => 'DELETE', CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_HTTPHEADER => array( CURLOPT_HTTPHEADER => array(
'X-TOKEN: test-token', 'X-TOKEN: test-token',
@ -56,7 +56,7 @@ echo $response;
##### cURL ##### cURL
```bash ```bash
curl --location --request DELETE 'control.local/api/v2/dns/reverse/x.x.x.x/record' \ curl --location --request DELETE 'https://api.dsh.gg/api/v2/dns/reverse/x.x.x.x/record' \
--header 'X-TOKEN: test-token' \ --header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json' --header 'Content-Type: application/json'
``` ```

Loading…
Cancel
Save