Skip to main content
PATCH
Patch Project Meta

授权

Authorization
string
header
必填

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

请求体

application/json
project
string
必填

The project key

description
string | null
visibility
string | null

private | public

display_name
string | null

Display name; can be set on its own, without renaming the path

external_hubs
string | null

External hubs this project's jobs may reference, comma separated (hf, ms). Empty string allows none; __inherit__ clears the policy so the deployment's setting applies. Omit to leave unchanged. A project can only narrow what an administrator enabled, never widen it.

响应

Successful Response

project_key
string
必填
name
string
必填
display_name
string | null
description
string | null
visibility
string
默认值:private
owner_username
string | null
team_key
string | null
external_hubs
string | null
can_manage
boolean
默认值:false