Optionalaccess_Optionalacs_Set of IDs of the entrances to which access is being granted.
Optionalcustomization_ID of the customization profile to apply to the Access Grant and its access methods.
Optionaldevice_Set of IDs of the devices to which access is being granted.
Optionalends_Date and time at which the validity of the new grant ends, in ISO 8601 format. Must be a time in the future and after starts_at.
OptionallocationOptionalacs_entrance_ids?: string[]Optionaldevice_ids?: string[]Optionalname?: stringName of the location.
Optionallocation_OptionalnameName for the access grant.
Optionalcode?: stringSpecific PIN code to use for this access method. Only applicable when mode is 'code'.
Optionalinstant_key_max_use_count?: numberMaximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified.
Optionalmode?: "code" | "card" | "mobile_key" | "cloud_key"Access method mode. Supported values: code, card, mobile_key, cloud_key.
Optionalreservation_Reservation key for the access grant.
Optionalspace_Set of IDs of existing spaces to which access is being granted.
Optionalspace_Set of keys of existing spaces to which access is being granted.
Optionalstarts_Date and time at which the validity of the new grant starts, in ISO 8601 format.
Optionaluser_When used, creates a new user identity with the given details, and grants them access.
Optionalemail_address?: stringUnique email address for the user identity.
Optionalfull_name?: stringFull name of the user associated with the user identity.
Optionalphone_number?: stringUnique phone number for the user identity in E.164 format (for example, +15555550100).
Optionaluser_identity_key?: stringUnique key for the user identity.
Optionaluser_ID of user identity for whom access is being granted.
Unique key for the access grant within the workspace.