How to Update a Profile

After learning how to create a Profile, updating a Profile will be much easier. The process is almost the same.

Per region host names

APSIS One API is provided under different hostnames depending on your region. For EU use https://api.apsis.one/, for APAC call https://api-apac.apsis.one/.

So, let's say we want to fix the spelling mistake we made in the First Name Attribute:

curl -X PATCH \
https://api.apsis.one/audience/keyspaces/com.apsis1.keyspaces.email/profiles/andy.demo%40apsis.com/sections/com.apsis1.sections.default/attributes \
  --header 'authorization: Bearer ' \
  -d '{
    "": "Andy"
}'

Updating a Profile with multiple Attributes is just as simple as with only one Attribute.

Let's say that we want to update the name for our Profile and set a value for the Last Name Attribute at the same time. This is how we can do it in a single call:

curl -X PATCH \
https://api.apsis.one/audience/keyspaces/com.apsis1.keyspaces.email/profiles/andy.demo%40apsis.com/sections/com.apsis1.sections.default/attributes \
  --header 'authorization: Bearer ' \
  -d '{
    "": "Andy",
    "": "Demo"
    "": "Demo1"
}'
Did this answer your question?