Skip to content

/api/v1/tenants/{tenantId}/servers/{serverId}/files/rename

POST
/api/v1/tenants/{tenantId}/servers/{serverId}/files/rename
curl --request POST \
--url https://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/files/rename \
--header 'Content-Type: application/json' \
--data '{ "from": "example", "to": "example" }'
serverId
required
string format: uuid
tenantId
required
string format: uuid
Media typeapplication/json
object
from
required
string
to
required
string

Example generated

{
"from": "example",
"to": "example"
}

OK