Update an ACS User
PATCH /acs/users/update ⇒ voidUpdates the properties of a specified ACS user.
Request
await seam.acs.users.update({
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
phone_number: "+15555550222",
});Response
// voidRequest
seam.acs.users.update(
acs_user_id="8d7e0b3a-b889-49a7-9164-4b71a0506a33", phone_number="+15555550222"
)Response
NoneRequest
seam.acs.users.update(
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
phone_number: "+15555550222",
)Response
nilRequest
<?php
$seam->acs->users->update(
acs_user_id: "8d7e0b3a-b889-49a7-9164-4b71a0506a33",
phone_number: "+15555550222"
);Response
nullRequest
seam acs users update --acs_user_id "8d7e0b3a-b889-49a7-9164-4b71a0506a33" --phone_number "+15555550222"Response
{}Request
package main
import api "github.com/seamapi/go"
import users "github.com/seamapi/go/users"
func main() {
client.Acs.Users.Update(
context.Background(),
users.UsersUpdateRequest{
AcsUserId: api.String("8d7e0b3a-b889-49a7-9164-4b71a0506a33"),
PhoneNumber: api.String("+15555550222"),
},
)
}Response
nilAuthentication Methods
API key
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
access_schedule
access_scheduleType: object Required: No
starts_at and ends_at timestamps for the acs_user's access. If you specify an access_schedule, you must include both starts_at and ends_at. ends_at must be a time in the future and after starts_at.
acs_user_id
acs_user_idType: string Required: Yes
ID of the ACS user.
email
emailType: string Required: No
email_address
email_addressType: string Required: No
Email address of the ACS user.
full_name
full_nameType: string Required: No
Full name of the ACS user.
hid_acs_system_id
hid_acs_system_idType: string Required: No
phone_number
phone_numberType: string Required: No
Phone number of the ACS user in E.164 format (for example, +15555550100).
Return Type
void
Last updated
Was this helpful?

