Saltar al contenido principal
POST
Update Task

Autorizaciones

X-SecretKey
string
header
requerido

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Cuerpo

application/json

Note that when calling this API, all properties of the task have to be provided, including properties that you do not want to change. Parameters not specified would be set to default value. If the task name in the update request is new, a task rename operation will be executed before updating other fields of the task. WARNING: Renaming of a task may break logics where the task name is used as an identifier.

Note that when calling this API, all properties of the task have to be provided, including properties that you do not want to change. Parameters not specified would be set to default value. If the task name in the update request is new, a task rename operation will be executed before updating other fields of the task. WARNING: Renaming of a task may break logics where the task name is used as an identifier.

IsActive
boolean
requerido

Whether the schedule is active. Inactive schedule will not trigger task execution.

Name
string
requerido

Name of the task. This is a unique identifier for tasks in the title.

Type
enum<string>
requerido

Task type.

Opciones disponibles:
CloudScript,
ActionsOnPlayerSegment,
CloudScriptAzureFunctions,
InsightsScheduledScaling
CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Description
string

Description the task

Identifier
object

Specify either the task ID or the name of the task to be updated.

Ejemplo:
Parameter
object

Parameter object specific to the task type. See each task type's create API documentation for details.

Schedule
string

Cron expression for the run schedule of the task. The expression should be in UTC.

Respuesta

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Última modificación el 6 de octubre de 2026