Header
Body Params
LANGUAGE
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.cripsa.com/v2/apisecurity/apisecurity-resource-deletion',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"UserPoolId": "us-east-1_fGVK9KXKf",
"identifier": "https://example.com",
"stage": "qua"
}',
CURLOPT_HTTPHEADER => array(
'x-api-key: VM98lPKj6D4T3iPiowMPw7ExWMpwZMFPaip3Fskb',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;