Update an Unmanaged Access Code
Updates a specified unmanaged access code.
Updates a specified unmanaged access code.
Code:
await seam.accessCodes.unmanaged.update({
access_code_id: "ebd8e488-db1b-4f4b-9d02-489fbfa6829a",
is_managed: true,
is_external_modification_allowed: true,
force: true,
});Output:
// voidUpdates a specified unmanaged access code.
Code:
curl --include --request POST "https://connect.getseam.com/access_codes/unmanaged/update" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"access_code_id": "ebd8e488-db1b-4f4b-9d02-489fbfa6829a",
"is_managed": true,
"is_external_modification_allowed": true,
"force": true
}
EOFOutput:
{}Updates a specified unmanaged access code.
Code:
seam.access_codes.unmanaged.update(
access_code_id="ebd8e488-db1b-4f4b-9d02-489fbfa6829a",
is_managed=true,
is_external_modification_allowed=true,
force=true,
)Output:
NoneUpdates a specified unmanaged access code.
Code:
seam.access_codes.unmanaged.update(
access_code_id: "ebd8e488-db1b-4f4b-9d02-489fbfa6829a",
is_managed: true,
is_external_modification_allowed: true,
force: true,
)Output:
nilUpdates a specified unmanaged access code.
Code:
$seam->access_codes->unmanaged->update(
access_code_id: "ebd8e488-db1b-4f4b-9d02-489fbfa6829a",
is_managed: true,
is_external_modification_allowed: true,
force: true
);Output:
Updates a specified unmanaged access code.
Code:
seam access-codes unmanaged update --access_code_id "ebd8e488-db1b-4f4b-9d02-489fbfa6829a" --is_managed true --is_external_modification_allowed true --force trueOutput:
{}Request Parameters
access_code_id String (Required)
ID of the unmanaged access code that you want to update.
is_managed Boolean (Required)
allow_external_modification Boolean
Indicates whether external modification of the code is allowed.
force Boolean
Indicates whether to force the unmanaged access code update.
is_external_modification_allowed Boolean
Indicates whether external modification of the code is allowed.
Response
void
Last updated
Was this helpful?

