Header

Body Params

LANGUAGE


<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.cripsa.com/v2/sessionmgt/revokeaccesstoken-deleteusersession',
  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 =>'{
  "access_token": "eyJraWQiOiJHVGdnNzJZNHd2bjdrY29zODA3Q3l2eWVmbklqckF0eTlOUjRwT01acHE4PSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJiZDJiZWZjZS00MDY4LTQwODItYWMwYi1iNzNjYTRkOGM4ZmIiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV90NHplNHJjY28iLCJ2ZXJzaW9uIjoyLCJjbGllbnRfaWQiOiI2NWFkbnQxMDJoNGdmaDJscmpvZ2Ywa201ZiIsIm9yaWdpbl9qdGkiOiI1N2YxMmYwYy0wZjE5LTQ4NjItOTk0NC03YzkxNzM0NWVlZTEiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6ImF3cy5jb2duaXRvLnNpZ25pbi51c2VyLmFkbWluIHBob25lIG9wZW5pZCBwcm9maWxlIGVtYWlsIiwiYXV0aF90aW1lIjoxNjkyMjYzNjg3LCJleHAiOjE2OTIzNTAwODcsImlhdCI6MTY5MjI2MzY4NywianRpIjoiNDAwZDVmOTYtMmNkOC00YWZlLTlmZjktY2FjYjMxMGJmYjNhIiwidXNlcm5hbWUiOiJiZDJiZWZjZS00MDY4LTQwODItYWMwYi1iNzNjYTRkOGM4ZmIifQ.pgQjvA1P5D9S9dDLElEMDGv28ZnfN9oINcFsKbsWrC3cgJMUbs09Qlixxz9FT4TIAJuxewP0c7zHurPvIkdFO_3IoV9FQH0_reOar8lxUJCxfYd9pXjpc9rRIfUF_iFNigSEW8iifGiECw18kexF6i1UmjfWG2yw4FK4j3kS8AA1O9-gZoncnyoSw0SSDdAVfKzp05vBooDkde6ZQlVgIVz8wA1uQX0SgJ0ZZQR5wUA-5rk6RtQdmw0mmDZwpPb6uMarKbdmMvr5hwGywdqFsswegSEJMRXZB9dMhyrkumEx2HQ2c0XoDw7CO91LSzZkKdpN7DSPTNLJaohbORJ4iA"
}',
  CURLOPT_HTTPHEADER => array(
    'x-api-key: BGRaldKNhtqqzRWB76imaVZFTEVsfPKF1OF4pSa0',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;