Saltar al contenido principal
POST
Create Cloud Script 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

Task name is unique within a title. Using a task name that's already taken will cause a name conflict error. Too many create-task requests within a short time will cause a create conflict error.

Task name is unique within a title. Using a task name that's already taken will cause a name conflict error. Too many create-task requests within a short time will cause a create conflict error.

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.

Parameter
object
requerido

Task details related to CloudScript

Ejemplo:
CustomTags
object

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

Description
string

Description the task

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
Ejemplo:
Última modificación el 6 de octubre de 2026