Skip to main content
POST
Update a directory server to the revision its preview showed

Authorizations

Authorization
string
header
required

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

Path Parameters

mcpServerID
string<uuid>
required

Body

application/json
revision
string
required

The to_revision the update preview showed. Refused with mcp_server_directory_moved when the entry now resolves to another revision.

Pattern: ^[0-9a-f]{64}$

Response

OK

auth
enum<string>
required
Available options:
none,
static_secret,
oauth
connection_kind
enum<string> | null
required
Available options:
static_secret,
oauth,
github_user_credential,
sentry_installation
created_at
string<date-time>
required
default_credential_policy
enum<string> | null
required
Available options:
creator,
org
display_name
string
required
enabled_by_default
boolean
required
headers
object
required
id
string<uuid>
required
key
string
required
kind
enum<string>
required
Available options:
http
required
boolean
required
secret_names
string[]
required
source
object
required
updated_at
string<date-time>
required
url
string
required