Add an ACS User to a User Identity

Add a specified ACS user to a specified user identity

Adds a specified ACS user to a specified user identity.

/user_identities/add_acs_user

POSThttps://connect.getseam.com/user_identities/add_acs_user
Authorization
Body
user_identity_id*string (uuid)
acs_user_id*string (uuid)
Response

OK

Body
ok*boolean
Request
const response = await fetch('https://connect.getseam.com/user_identities/add_acs_user', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer API Key",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "user_identity_id": "123e4567-e89b-12d3-a456-426614174000",
      "acs_user_id": "123e4567-e89b-12d3-a456-426614174000"
    }),
});
const data = await response.json();
Response
{
  "ok": false
}

Request

Specify the desired user identity and ACS user by including the corresponding user_identity_id and acs_user_id in the request body.

Request Body Parameters

ParameterTypeDescription

user_identity_id

String Required

ID of the desired user identity

acs_user_id

String Required

ID of the desired user

Sample Request

curl -X 'POST' \
  'https://connect.getseam.com/user_identities/add_acs_user' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ${API_KEY}' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_identity_id": "48500a8e-5e7e-4bde-b7e5-0be97cae5d7a",
  "acs_user_id": "4d223973-0874-4831-8630-bfcb29e6bce0"
}'

Response

Returns a Boolean ok status indicator.

Sample Response

{
  "ok": true
}

Last updated

Logo

© Seam Labs, Inc. All rights reserved.