Skip to content

Remove the certificate

POST
/api/v1/tls/remove
curl --request POST \
--url http://pwrman.local/api/v1/tls/remove \
--header 'Authorization: Bearer <token>'

Done.

Media typeapplication/json
object
ok
required
boolean

Example

{
"ok": true
}

The token is missing or wrong, or no token is set yet.

Media typeapplication/json
object
error
required

Why the request was refused, in words.

string

Examples

{
"error": "bearer token required"
}

HTTPS is still on, or no certificate is installed.

Media typeapplication/json
object
error
required

Why the request was refused, in words.

string

Example generated

{
"error": "example"
}

USB Type-C® and USB-C® are registered trademarks of USB Implementers Forum.