Skip to content

Refuse the assistant

POST
/v1/oauth/requests/{id}/deny
curl --request POST \
--url https://beta-api.plune.ai/v1/oauth/requests/example/deny \
--cookie plune_session=<plune_session>

The person’s no: the client’s return address with error=access_denied, state and iss. Nothing is connected. 30 a minute a person. The signed-in session alone (an API token gets 401): a token, an assistant’s own included, can neither grant a connection nor widen one. Mounted only where the remote MCP server is switched on (MCP_PUBLIC_URL).

id
required
string

The request id.

Where to send the browser

Media type application/json
object
redirectTo
required
string
Example
{
"redirectTo": "https://assistant.example/callback?error=access_denied&state=s1&iss=https%3A%2F%2Fmcp.plune.ai"
}

No / invalid session

Unknown, already answered or older than 10 minutes

Media type application/json
object
error
required
string
Example
{
"error": "the request is unknown, already answered or older than 10 minutes",
"code": "request_gone"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over