Skip to content

No Train Remove

DELETE
/v1/ratchet/no-train
curl --request DELETE \
--url http://localhost:8000/v1/ratchet/no-train

Remove a no-train registration (the same JSON body as POST; never a query string, which access logs keep). An API key removes its own end users’ registrations, not one an admin made; an admin removes any: for a named client, or with none in every scope (each configured key, the keyless one, every scope a registration is stored in and the every-client one). While an admin’s every-client registration stays, the other scopes report kept. Without API keys this needs an admin key in live mode, so nobody can switch storage back on for someone else’s users; the mock demo’s keyless callers get no status, as they get no created from POST.

x-api-key
Any of:
string

Successful Response

Media typeapplication/json
Response No Train Remove V1 Ratchet No Train Delete
object

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}