Revoke a connected app
const url = 'https://api.voidfs.com/v1/connected-apps/b3c39e4a90f6113318459b5ca1a1cea14ff03c79f236054ed75a15c7acbb9b92';const options = { method: 'DELETE', headers: { cookie: '__Secure-better-auth.session_token=<__Secure-better-auth.session_token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.voidfs.com/v1/connected-apps/b3c39e4a90f6113318459b5ca1a1cea14ff03c79f236054ed75a15c7acbb9b92 \ --cookie __Secure-better-auth.session_token=<__Secure-better-auth.session_token>Revocation is kept: the app stays listed with revokedAt, and revoking it again returns the same app.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
b3c39e4a90f6113318459b5ca1a1cea14ff03c79f236054ed75a15c7acbb9b92Header Parameters
Section titled “Header Parameters”RFC 9421 signature parameters for a signed request.
A connected app’s user ID, in lowercase hex; covered by its signature.
The account generation the app was approved under, in lowercase hex; covered by its signature.
voidfs-cli/<major.minor.patch>, the connected app’s version; covered by its signature.
Responses
Section titled “Responses”Revoked connected app.
object
Example
{ "appId": "b3c39e4a90f6113318459b5ca1a1cea14ff03c79f236054ed75a15c7acbb9b92", "name": "Laptop CLI", "createdAt": "2026-11-27T10:15:00Z", "expiresAt": null, "lastUsedOn": "2026-11-27", "revokedAt": null}Invalid request. Conflicting credentials. Client update required.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#invalid", "title": "Invalid request", "status": 400, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "invalid", "category": "invalid-input"}{ "type": "https://docs.voidfs.com/errors/#conflicting-credentials", "title": "Conflicting credentials", "status": 400, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "conflicting-credentials", "category": "invalid-input"}{ "type": "https://docs.voidfs.com/errors/#client-outdated", "title": "Client update required", "status": 400, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "client-outdated", "category": "invalid-input"}Sign-in required. Connected-app credential unavailable.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#session", "title": "Sign-in required", "status": 401, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "session", "category": "unauthorized"}{ "type": "https://docs.voidfs.com/errors/#connected-app-unavailable", "title": "Connected-app credential unavailable", "status": 401, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "connected-app-unavailable", "category": "unauthorized"}Headers
Section titled “Headers”Not allowed.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#forbidden", "title": "Not allowed", "status": 403, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "forbidden", "category": "forbidden"}Not found.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#not-found", "title": "Not found", "status": 404, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "not-found", "category": "not-found"}Method not allowed.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#method-not-allowed", "title": "Method not allowed", "status": 405, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "method-not-allowed", "category": "invalid-input"}Headers
Section titled “Headers”Rate limit exceeded.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#rate-limit", "title": "Rate limit exceeded", "status": 429, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "rate-limit", "category": "rate-limited"}Headers
Section titled “Headers”Seconds before retrying when storage is under pressure.
Unavailable.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#unavailable", "title": "Unavailable", "status": 500, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "unavailable", "category": "unavailable"}Unavailable.
object
Problem type URI
HTTP status code
Short summary of the problem type
Human-readable explanation
Examples
{ "type": "https://docs.voidfs.com/errors/#unavailable", "title": "Unavailable", "status": 503, "instance": "urn:uuid:4bf92f35-77b3-4da6-a3ce-929d0e0e4736", "error": "unavailable", "category": "unavailable"}