Skip to main content
PUT
/
namespaces
/
{namespace_id}
Rename a namespace
curl --request PUT \
  --url https://api.vidnavigator.com/v1/namespaces/{namespace_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "Product Demos"
}
'
{
  "status": "success",
  "message": "<string>"
}
Rename an existing namespace. The default namespace cannot be renamed.

Example Request

curl -X PUT "https://api.vidnavigator.com/v1/namespaces/64a1b2c3d4e5f6789abc0003" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Product Demos"
  }'

Success Response

{
  "status": "success",
  "message": "Namespace renamed successfully"
}

Authorizations

X-API-Key
string
header
required

API key authentication. Include your VidNavigator API key in the X-API-Key header.

Path Parameters

namespace_id
string
required

The ID of the namespace to rename

Body

application/json
name
string
required

New name for the namespace

Example:

"Product Demos"

Response

Namespace renamed successfully

status
enum<string>
Available options:
success
message
string