Skip to content
MCPProductDomains and accessMember Directory

Member Directory programs: update

The Member Directory Verbs update as MCP do programs, with inputs, result, refusals and an example.

Reference for Member Directory, one group of Member Directory programs.

MemberDirectory.update

Changes the given properties of a Member Directory. Verb page.

Text
do: return await $.MemberDirectory.update(input)

Emits MemberDirectory.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Member Directory.
groupRolesjsonWhich directory group fills which Role in the Tenant.
lastChangeAtdatetimeWhen the Customer’s directory last pushed a change.

Returns

OutputTypeRequiredDescription
memberDirectoryMember DirectoryrequiredThe Member Directory.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.MemberDirectory.update({ id: 'directory_qZldlwGLVN', groupRoles: {} })"
  }
}