Skip to main content

manageAssetToken

Manages AssetTokens for files such as private avatars or worlds

Request Body

Information required to manage an AssetToken

userid string — REQUIRED

The UserId

tokenContent string — REQUIRED

The token's content

targetUserId string

The UserId to apply the action to

action integer — REQUIRED

Whether to add (0) a token or remove (1) a token

assetId string — REQUIRED

The AssetId to apply the action to (either a WorldId or AvatarId)

removeAssetToken string

If removing an AssetToken, this is the AssetToken to remove

Responses
200

A successful request

Schema — OPTIONAL
success boolean

Was the operation a success

message string

The message returned by the server

result object — OPTIONAL

The result of the server response