Skip to main content
PUT
Create or replace a script data value

Authorizations

Authorization
string
header
required

API key beginning with fp_live_ (live keys, served at developers.myfundedperpetuals.com) or fp_test_ (test keys, served at sandbox.myfundedperpetuals.com). A key presented on the other host is rejected with 401 and a message naming the correct host. Affiliate API keys are fp_live_ keys created on the Affiliates page: they read only the /v1/affiliate endpoints and get 403 with code insufficient_scope on every other authenticated endpoint. Every other key gets the same 403 on /v1/affiliate.

Path Parameters

key
string
required

1 to 64 letters, digits, dots, dashes, or underscores, starting with a letter or digit. The same key your script passes to request.data().

Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$
Example:

"spx-gex.0dte"

Body

application/json
value
string
required

Any text: CSV, JSON, or key-value pairs. Your script parses it with str.split, str.tonumber, and the other string functions.

Maximum string length: 65536
Example:

"5800:-1.2,5850:0.4,5900:2.7"

Response

The key's value was replaced.

data
object
required