Update Task
Update an existing task.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| CloudScriptAzureFunctionsArgumentSizeExceeded | 1471 |
| InvalidJSONContent | 1200 |
| InvalidParams | 1000 |
| InvalidScheduledTaskName | 1256 |
| InvalidScheduledTaskParameter | 1391 |
| InvalidScheduledTaskType | 1265 |
| InvalidTaskSchedule | 1257 |
| InvalidVirtualCurrencyCode | 1236 |
| OverLimit | 1214 |
| PushNotEnabledForAccount | 1094 |
| PushNotificationTemplateInvalidSyntax | 1419 |
| PushNotificationTemplateNotFound | 1417 |
| ScheduledTaskCreateConflict | 1255 |
| ScheduledTaskNameConflict | 1254 |
| StatisticNotFound | 1195 |
| TaskNotFound | 1261 |
Authorizations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Body
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.
Whether the schedule is active. Inactive schedule will not trigger task execution.
Name of the task. This is a unique identifier for tasks in the title.
Task type.
CloudScript, ActionsOnPlayerSegment, CloudScriptAzureFunctions, InsightsScheduledScaling The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Description the task
Specify either the task ID or the name of the task to be updated.
Parameter object specific to the task type. See each task type's create API documentation for details.
Cron expression for the run schedule of the task. The expression should be in UTC.
