AccountUpdateRequest

public struct AccountUpdateRequest : Encodable, Sendable

User update request model.

  • The external ID of this user in your platform.

    Declaration

    Swift

    public let externalId: String?
  • The Profile that this Account should be updated to.

    Declaration

    Swift

    public let profile: String?
  • Structure containing account information.

    Declaration

    Swift

    public let information: AccountUpdateInformation
  • Account metadata. Be aware that updating this value will override all the fields.

    Declaration

    Swift

    public let metadata: [String : CustomValue]?
  • Auxiliary constructor.

    Declaration

    Swift

    public init(information: AccountUpdateInformation,
                profile: String? = nil,
                metadata: [String: CustomValue]? = nil,
                externalId: String? = nil)

    Parameters

    information

    Structure containing account information.

    profile

    The Profile that this Account should be updated to.

    metadata

    Account metadata. Be aware that updating this value will override all the fields.

    externalId

    The external ID of this user in your platform.