Create an ACS User
POST /acs/users/create ⇒ { acs_user }
Creates a new ACS user.
Request
await seam.acs.users.create({
acs_system_id: "123e4567-e89b-12d3-a456-426614174000",
full_name: "Jane Doe",
email_address: "[email protected]",
phone_number: "+15555550100",
acs_access_group_ids: ["123e4567-e89b-12d3-a456-426614174000"],
});
Response
{
"acs_user_id": "123e4567-e89b-12d3-a456-426614174000",
"acs_system_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2024-04-05T07:57:05.323Z",
"display_name": "Jane Doe",
"full_name": "Jane Doe",
"email_address": "[email protected]",
"phone_number": "+15555550100"
}
Authentication Methods
API key
Personal access token Must also include the
seam-workspace
header in the request.
Request Parameters
access_schedule
access_schedule
Type: object
Required: No
starts_at
and ends_at
timestamps for the new acs_user
's access. If you specify an access_schedule
, you may include both starts_at
and ends_at
. starts_at
defaults to the current time if not provided. ends_at
is optional and must be a time in the future and after starts_at
.
acs_access_group_ids
acs_access_group_ids
Type: array
Required: No
Array of access_group_id
s to indicate the access groups to which to add the new acs_user
.
acs_system_id
acs_system_id
Type: string
Required: Yes
ID of the acs_system
to which to add the new acs_user
.
email
email
Type: string
Required: No
email_address
email_address
Type: string
Required: No
Email address of the ACS user.
full_name
full_name
Type: string
Required: Yes
Full name of the new acs_user
.
phone_number
phone_number
Type: string
Required: No
Phone number of the ACS user in E.164 format (for example, +15555550100
).
user_identity_id
user_identity_id
Type: string
Required: No
ID of the user identity with which to associate the new acs_user
.
Return Type
Last updated
Was this helpful?