Skip to main content
PUT
Edit file with string replacement

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from the console.

Path Parameters

path
string
required

File path (S3-style, no leading slash)

Body

application/json
oldString
string
required
Required string length: 1 - 100000
newString
string
required
Maximum string length: 100000

Response

Success

success
boolean
required
Example:

true

data
object
required
operation
string
required
Example:

"write_file"

message
string
required
Example:

"File created successfully, version 1"