Skip to main content
POST
Replace text in a Computer Agent workspace file

Authorizations

token
string
query
required

Vida API Token

Path Parameters

targetAccountId
string
required

Body

application/json
path
string
required

Workspace-relative file path.

oldText
string
required

Exact text that must currently exist in the file.

Minimum string length: 1
newText
string
required

Replacement text. Use an empty string to remove the matched text.

Response

200

Successful response