curl
curl -sS -X DELETE "https://gateway.orbit/api/v1/vault" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81' \
-H 'Content-Type: application/json' \
-d '{"keep_items": true}'
{
"data": {
"configured": true,
"url": "<string>",
"email": "<string>",
"organization": {
"id": "<string>",
"name": "<string>"
},
"collection": {
"id": "<string>",
"name": "<string>"
},
"items": 123,
"pending": 123,
"skipped": [
{
"source": "<string>",
"slug": "<string>",
"username": "<string>",
"reason": "incomplete"
}
],
"last_synced_at": "<string>",
"last_error": {
"code": "<string>",
"message": "<string>"
}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Vaultwarden
Tear down Vaultwarden
Permanently deletes every Orbit item in the collection, recorded or not, unless keep_items is true, then the stored setup. A failed deletion keeps the setup, so the teardown can run again. Returns vault.not_configured (409).
DELETE
/
api
/
v1
/
vault
curl
curl -sS -X DELETE "https://gateway.orbit/api/v1/vault" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81' \
-H 'Content-Type: application/json' \
-d '{"keep_items": true}'
{
"data": {
"configured": true,
"url": "<string>",
"email": "<string>",
"organization": {
"id": "<string>",
"name": "<string>"
},
"collection": {
"id": "<string>",
"name": "<string>"
},
"items": 123,
"pending": 123,
"skipped": [
{
"source": "<string>",
"slug": "<string>",
"username": "<string>",
"reason": "incomplete"
}
],
"last_synced_at": "<string>",
"last_error": {
"code": "<string>",
"message": "<string>"
}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}