cURL
curl --request PUT \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "description": "A better repository", "is_public": true, "name": "SimpleWikipedia", "namespace": "ox" }'
{ "repository": { "description": "A better repository", "is_public": true, "name": "SimpleWikipedia", "namespace": "ox" }, "status": "success", "status_message": "resource_found" }
Update repository
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"ox"
"test-repo"
OK
The response is of type object.
object