Skip to content

Identity

Capability: urn:ietf:params:jmap:submission

Arguments

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account to fetch Identity objects from.
idsarray?NoIdentity ids to fetch. If null, returns all identities.
propertiesarray?NoIdentity properties to return. Defaults to all properties.

Response

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account the Identity objects belong to.
statestringYesCurrent Identity state, used in subsequent /changes calls.
listIdentity[]YesThe requested Identity objects.
notFoundarray?NoIds that were not found.

Capability: urn:ietf:params:jmap:submission

Arguments

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account to update Identity objects in.
ifInStatestring?NoOptimistic concurrency guard on Identity state.
createobject?NoMap of creation id to Identity create objects. This server does not support client-initiated creation.
updateobject?NoMap of Identity id to IdentityUpdate patch objects.
destroyarray?NoIds to destroy. This server does not support client-initiated destruction.

Response

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account the set operation was performed on.
oldStatestring?YesThe Identity state before this call, or null if no prior state existed.
newStatestringYesThe Identity state after this call.
createdobject?NoMap of creation id to the created Identity object (server-initiated only).
updatedobject?NoMap of id to the updated Identity object (or null if unchanged properties were not returned).
destroyedarray?NoIds of Identity objects that were successfully destroyed (server-initiated only).
notCreatedobject?NoMap of creation id to SetError for each failed create.
notUpdatedobject?NoMap of id to SetError for each failed update.
notDestroyedobject?NoMap of id to SetError for each failed destroy.

Capability: urn:ietf:params:jmap:submission

Arguments

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account to get Identity changes for.
sinceStatestringYesThe state to get changes since.
maxChangesinteger?NoMaximum number of changes to return.

Response

PropertyTypeRequiredDescription
accountIdAccountIdYesThe account these changes are for.
oldStatestringYesThe sinceState value passed in the request.
newStatestringYesThe current Identity state after these changes.
hasMoreChangesbooleanYesIf true, more changes exist beyond maxChanges; make another call with newState as sinceState.
createdId[]YesIdentity ids created since sinceState.
updatedId[]YesIdentity ids updated since sinceState.
destroyedId[]YesIdentity ids destroyed since sinceState.