//PowerShell - RestMethod
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("X-Client-Id", "XXX") // Your API key
$headers.Add("X-Client-Secret", "YYY") // Your API secret
$body = '{
}'
$response = Invoke-RestMethod 'https://api.smsgatewayapi.com/v1/messagetemplates/{ID}' -Method 'DELETE' -Headers $headers -Body $body -ContentType “application/json; charset=utf-8”
$response | ConvertTo-Json
//Shell - wget
wget --no-check-certificate --quiet \
--method DELETE \
--timeout=0 \
--header 'X-Client-Id: XXX' \ // Your API key
--header 'X-Client-Secret: YYY' \ // Your API secret
--header 'Content-Type: application/json' \
--body-data '{
}' \
'https://api.smsgatewayapi.com/v1/messagetemplates/{ID}'
Example success response:
http response code 204 no content
SMS API
Smstools
Bulk API SMS passerelle. Intégration facile. Grâce à notre API SMS, vous pouvez étendre les fonctionnalités de votre logiciel avec une intégration SMS.