A CLI logs itself out: revoked now and removed from the devices list
POST
/v1/devices/me/logout
const url = 'https://app.skillpouch.net/v1/devices/me/logout';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.skillpouch.net/v1/devices/me/logoutResponses
Section titled “Responses”Default Response
Media typeapplication/json
object
ok
required
boolean
data
required
object
revoked
required
boolean
rotation_pending
required
boolean
meta
required
object
request_id
required
string
next_cursor
string | null
Example
{ "ok": true, "data": { "revoked": true }}