Skip to content

Remove an empty API

DELETE
/v1/apis/{id}
curl --request DELETE \
--url https://beta-api.plune.ai/v1/apis/example \
--header 'Authorization: Bearer <token>'

A person; an agent is refused (403 agent_proposes). Only an API with no endpoint and no endpoint proposed for it still waiting in the queue (409 api_not_empty).

id
required
string

The API’s id

Removed

No / invalid token or session

A reader, a read token, or an agent (agent_proposes)

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

No such API in your project

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

The API holds endpoints, or one proposed for it waits (api_not_empty)

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

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