cURL
curl --request PATCH \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/transfer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "namespace": "new_org" } '
{ "repository": { "is_empty": false, "name": "ImageNet-1k", "namespace": "ox" }, "status": "success", "status_message": "resource_found" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Current namespace of the repository
Name of the repository
Target namespace to transfer the repository to.
Repository transferred successfully
Show child attributes
{ "is_empty": false, "name": "ImageNet-1k", "namespace": "ox"}