Skip to content

Replace account custom properties

Request

Security
bearerAuth and apiKeyAuth
Query
idstring

Account id

Bodyapplication/jsonrequired
spaceIdinteger, (int64)required

client id

clientCustomPropertiesobject

Client level customproperties on asset

partnerCustomPropertiesobject

Partner level customproperties on asset

curl -i -X PUT \
  'https://api3.sprinklr.com/prod/api/v3/account?id=string' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "spaceId": 0,
    "clientCustomProperties": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "partnerCustomProperties": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    }
  }'

Responses

Success

Bodyapplication/json
string(AssigneeType)
Response
"string"