Skip to main content
POST
Update Task

Authorizations

X-SecretKey
string
header
required

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

Body

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
required

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

Name
string
required

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

Type
enum<string>
required

Task type.

Available options:
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.

Example:
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.

Response

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
Last modified on October 2, 2026