Skip to main content
PATCH
Transfer repository namespace

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

Current namespace of the repository

repo_name
string
required

Name of the repository

Body

application/json

Target namespace to transfer the repository to.

The namespace a repository is being transferred into.

namespace
string
required

The destination namespace, as addressed on disk. A UUID where a control plane owns namespaces, and the namespace's name where the server owns its own.

namespace_name
string | null

What the destination namespace is called, where namespace addresses it by UUID instead. Recorded as the repository's namespace hint, and refused when it is not a valid namespace name. A server that owns its own namespaces takes the name from the namespace position and ignores this.

Response

Repository transferred successfully

repository
object
required
Example:
status
string
required
status_message
string
required