Docs

Renomear ou mover no projeto

O destino não pode existir.

POST
/v1/workspaces/{workspaceId}/apps/{appId}/files/rename

O destino não pode existir.

Authorization

AuthorizationBearer <token>

Token de API: acqua_pat_… (os antigos hydro_pat_… continuam valendo)

In: header

Path Parameters

workspaceId*string
appId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/workspaces/string/apps/string/files/rename" \  -H "Content-Type: application/json" \  -d '{    "from": "string",    "to": "string"  }'
{  "ok": true}