Edit

Edit an existing player skin.

You can only edit player skins in actors on the same level or lower than your actor.

Tokens

This action requires the following tokens:

  • playerskin-write

Arguments

Required arguments are marked in bold, and optional arguments are marked in italics.

Argument Type Default Description
playerskin Hash   The ID of the player skin to edit
url String   The new URL of the skin
description String   The new description of the skin

Output

This action produces the following output on success:

An object containing the following fields:

Name Type Description
id Hash Player skin ID
url String Player skin URL
description String Player skin description
datecreated DateTime When the player skin was created
datemodified DateTime When the player skin was last modified
account

Account for this player skin

The value of this field is an object containing the following fields:

Name Type Description
id Hash Account ID
name String Account name
customer

Customer for this player skin

The value of this field is an object containing the following fields:

Name Type Description
id Hash Customer ID
name String The name of this customer
datecreated DateTime When this customer was created
datemodified DateTime When this customer was last modified

Errors

This action can return one of the default status codes, or one of the following status codes on error:

STATUS_PLAYER_SKIN_NOT_FOUND (460)
If the player skin specified by “playerskin” can not be found