Api referenceEndpointsAdmin
Forget what the console saved for a provider (instance admin)
DELETE
Deletes the keys and the switch saved for the provider. Environment variables are not touched. Connections and data are kept. 404 when nothing was saved.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
provider*stringConnector slug, see GET /v1/providers.
The provider after the change.
application/json- response
slug*stringname*stringkinds*array<>status*stringactive runs; off was turned off; not_configured lacks a required key; error has
keys the provider's rules refuse (see error); built_in needs no key and is always on.
Value in
"active""off""not_configured""error""built_in"enabled*booleansource*|Where the keys come from. Environment variables win over the console as a whole.
Value in
"env""console"nullkeys*array<>error*string|nullurls*The addresses to register in the provider's developer portal.
updated_at*|Format
date-timeupdated_by*|The id of the API key that saved the last change.
curl -X DELETE 'http://localhost:8080/v1/admin/providers/withings' \ -H 'Authorization: Bearer ohs_sk_...'{ "slug": "string", "name": "string", "kinds": [ "oauth" ], "status": "active", "enabled": true, "source": "env", "keys": [ { "name": "CLIENT_ID", "env": "OHS_OURA_CLIENT_ID", "required": true, "secret": true, "set": true, "value": "string" } ], "error": "string", "urls": { "redirect": "string", "inbound": "string" }, "updated_at": "2019-08-24T14:15:22Z", "updated_by": "string"}