Skip to content

Create request to edit profile data

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
requestIdstring
updateRequestobject(ProfilePropertyUpdateRequestDTO)
referenceIdstring
reasonstring
callbackUrlstring
curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/gdpr/edit \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "requestId": "string",
    "updateRequest": {
      "id": "string",
      "clientCustomProperties": {
        "property1": [
          "string"
        ],
        "property2": [
          "string"
        ]
      },
      "partnerCustomProperties": {
        "property1": [
          "string"
        ],
        "property2": [
          "string"
        ]
      },
      "spaceCustomProperties": {
        "property1": [
          "string"
        ],
        "property2": [
          "string"
        ]
      },
      "userCustomProperties": {
        "property1": [
          "string"
        ],
        "property2": [
          "string"
        ]
      },
      "clientTags": [
        "string"
      ],
      "partnerProfileLists": [
        0
      ],
      "clientProfileLists": [
        0
      ]
    },
    "referenceId": "string",
    "reason": "string",
    "callbackUrl": "string"
  }'

Responses

Success

Bodyapplication/json
dataobject
errorsArray of objects(Error)
metadataobject(ResponseMetadata)
Response
{ "data": {}, "errors": [ { … } ], "metadata": {} }