End this session
DELETE
/session.json
const url = 'https://your-board.mudda.today/session.json';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <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://your-board.mudda.today/session.json \ --header 'Authorization: Bearer <token>'Ends the token (or session) making the request. Open to every token whatever its scopes. Scope: any.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Ended.
No credential, or a revoked or expired token.
Media typeapplication/json
Every failure’s envelope. request_id matches the X-Request-Id header.
object
errors
required
Messages keyed by field; base when no field is to blame.
object
key
additional properties
Array<string>
request_id
string
Example
{ "errors": { "base": [ "Unauthorized" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}The token has spent its 600 requests this minute.
Media typeapplication/json
Every failure’s envelope. request_id matches the X-Request-Id header.
object
errors
required
Messages keyed by field; base when no field is to blame.
object
key
additional properties
Array<string>
request_id
string
Example
{ "errors": { "base": [ "Rate limit exceeded: 600 requests a minute per token" ] }, "request_id": "5f0c1e9a-2b7d-4c1e-9a63-0e4f8d2b1c55"}Headers
Section titled “Headers”Retry-After
integer
Seconds to wait before retrying.