Skip to main content

Account Unlock

Input/OutputData Type

Example StdAccountUnlockInput

"identity": "john.doe",
"key": {
"simple": {
"id": "john.doe"

Example StdAccountUnlockOutput

"key": {
"simple": {
"id": "john.doe"
"disabled": false,
"locked": false,
"attributes": {
"id": "john.doe",
"displayName": "John Doe",
"email": "[email protected]",
"entitlements": [


The account lock and account unlock commands provide ways to temporarily prevent access to an account. ISC only supports the unlock command, so accounts must be locked on the source level, but they can be unlocked through ISC, and ISC can store the account's status.

Implementing account unlock is similar to the other commands that update attributes on an account. The following code unlocks an account:

.stdAccountUnlock(async (context: Context, input: StdAccountUnlockInput, res: Response<StdAccountUnlockOutput>) => {
let account = await airtable.getAccount(input.key)
const change: AttributeChange = {
op: AttributeChangeOp.Set,
attribute: 'locked',
value: 'false'
account = await airtable.changeAccount(account, change)