Request restriction of data processing (GDPR Right to Restriction)
curl --request POST \
--url https://api.g-tateth.com/api/data-privacy/restriction-request \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "I would like to correct my email address on file",
"details": "My current email should be corrected to jane@example.com"
}
'import requests
url = "https://api.g-tateth.com/api/data-privacy/restriction-request"
payload = {
"reason": "I would like to correct my email address on file",
"details": "My current email should be corrected to jane@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
reason: 'I would like to correct my email address on file',
details: 'My current email should be corrected to jane@example.com'
})
};
fetch('https://api.g-tateth.com/api/data-privacy/restriction-request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.g-tateth.com/api/data-privacy/restriction-request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reason' => 'I would like to correct my email address on file',
'details' => 'My current email should be corrected to jane@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.g-tateth.com/api/data-privacy/restriction-request"
payload := strings.NewReader("{\n \"reason\": \"I would like to correct my email address on file\",\n \"details\": \"My current email should be corrected to jane@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.g-tateth.com/api/data-privacy/restriction-request")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"I would like to correct my email address on file\",\n \"details\": \"My current email should be corrected to jane@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.g-tateth.com/api/data-privacy/restriction-request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"I would like to correct my email address on file\",\n \"details\": \"My current email should be corrected to jane@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Restriction request submitted successfully. Our team will review your request.",
"request": {
"id": "64a1b2c3d4e5f6789012345a",
"type": "rectification",
"status": "pending",
"requestedAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": "Error message",
"code": "ERROR_CODE"
}{
"success": false,
"error": "Authentication required",
"code": "AUTH_REQUIRED"
}Data Privacy
Request restriction of data processing (GDPR Right to Restriction)
Submit a request to restrict how the platform processes your personal data. While restricted, data will be stored but not actively processed.
POST
/
api
/
data-privacy
/
restriction-request
Request restriction of data processing (GDPR Right to Restriction)
curl --request POST \
--url https://api.g-tateth.com/api/data-privacy/restriction-request \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "I would like to correct my email address on file",
"details": "My current email should be corrected to jane@example.com"
}
'import requests
url = "https://api.g-tateth.com/api/data-privacy/restriction-request"
payload = {
"reason": "I would like to correct my email address on file",
"details": "My current email should be corrected to jane@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
reason: 'I would like to correct my email address on file',
details: 'My current email should be corrected to jane@example.com'
})
};
fetch('https://api.g-tateth.com/api/data-privacy/restriction-request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.g-tateth.com/api/data-privacy/restriction-request",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'reason' => 'I would like to correct my email address on file',
'details' => 'My current email should be corrected to jane@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.g-tateth.com/api/data-privacy/restriction-request"
payload := strings.NewReader("{\n \"reason\": \"I would like to correct my email address on file\",\n \"details\": \"My current email should be corrected to jane@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.g-tateth.com/api/data-privacy/restriction-request")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"reason\": \"I would like to correct my email address on file\",\n \"details\": \"My current email should be corrected to jane@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.g-tateth.com/api/data-privacy/restriction-request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"reason\": \"I would like to correct my email address on file\",\n \"details\": \"My current email should be corrected to jane@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Restriction request submitted successfully. Our team will review your request.",
"request": {
"id": "64a1b2c3d4e5f6789012345a",
"type": "rectification",
"status": "pending",
"requestedAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": "Error message",
"code": "ERROR_CODE"
}{
"success": false,
"error": "Authentication required",
"code": "AUTH_REQUIRED"
}Authorizations
JWT session token authentication. Use for user-context requests. The token is returned by the login endpoint and expires after 15 minutes.
Body
application/json
⌘I