Suspend one, or lift the suspension
PUT
/api/admin/mcp/{id}
const url = 'http://localhost:5173/api/admin/mcp/example';const options = { method: 'PUT', headers: {cookie: 'authjs.session-token=<authjs.session-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url http://localhost:5173/api/admin/mcp/example \ --cookie authjs.session-token=<authjs.session-token>Takes { blocked } and nothing else. An administrator never edits
somebody else's address or token, and never touches the owner's own
switch.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The server as it now stands.
No such server.

