setUUIDMetadata
expect abstract fun setUUIDMetadata(uuid: String? = null, name: String? = null, externalId: String? = null, profileUrl: String? = null, email: String? = null, custom: CustomObject? = null, includeCustom: Boolean = false, type: String? = null, status: String? = null, ifMatchesEtag: String? = null): SetUUIDMetadata
actual abstract fun setUUIDMetadata(uuid: String?, name: String?, externalId: String?, profileUrl: String?, email: String?, custom: Any?, includeCustom: Boolean, type: String?, status: String?, ifMatchesEtag: String?): SetUUIDMetadata
Set metadata for a UUID in the database, optionally including the custom data object for each.
Parameters
uuid
Unique user identifier. If not supplied then current user’s uuid is used.
name
Display name for the user. Maximum 200 characters.
externalId
User's identifier in an external system
profileUrl
The URL of the user's profile picture
email
The user's email address. Maximum 80 characters.
custom
Object with supported data types.
includeCustom
Include respective additional fields in the response.
ifMatchesEtag
Optional entity tag from a previously received PNUUIDMetadata. The request will fail if this parameter is specified and the ETag value on the server doesn't match.
actual abstract fun setUUIDMetadata(uuid: String?, name: String?, externalId: String?, profileUrl: String?, email: String?, custom: CustomObject?, includeCustom: Boolean, type: String?, status: String?, ifMatchesEtag: String?): SetUUIDMetadata