PATCH
/
repos
/
{repo_id}
/
files
/
{ref_id}
/
{path}

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Headers

X-DV-Client-ID
string
required

The unique id of the client making this request

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
ref_id
string
required

An ID of a workspace, branch or commit.

Required string length: 3 - 128
path
string
required

A path to a file inside the repository.

Query Parameters

new_path
string
required

The new path to where the file has moved