Skip to main content
PUT
Update file namespace assignments
Set which namespaces a file belongs to. This replaces any existing namespace assignments for the file. The default namespace is always preserved.

Overview

Use this endpoint to move a file between namespaces or assign it to multiple namespaces at once. The response returns the updated namespace_ids and resolved namespaces reflecting the new assignments.

Example Request

Success Response

The default namespace is always preserved in the response, even if not explicitly included in namespace_ids.

Authorizations

X-API-Key
string
header
required

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

Path Parameters

file_id
string
required

The ID of the file to update

Body

application/json
namespace_ids
string[]
required

List of namespace IDs to assign to this file

Example:

Response

File namespaces updated successfully

status
enum<string>
Available options:
success
message
string
data
object