PUT
/
api
/
repos
/
{namespace}
/
{repo_name}
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required
Example:

"ox"

repo_name
string
required
Example:

"test-repo"

Body

application/json
description
string
Example:

"A better repository"

is_public
boolean
Example:

true

name
string
Example:

"SimpleWikipedia"

namespace
string
Example:

"ox"

Response

200 - application/json
OK
repository
object
status
string
Example:

"success"

status_message
string
Example:

"resource_found"