Artisyn API
  1. Auth
Artisyn API
  • INTRODUCTION
  • Auth
    • OAUTH
      • Google
      • Google Callback
    • Login
      POST
    • Register
      POST
    • Verify Account
      PUT
    • Logout
      DELETE
    • Forgot Password
      POST
    • Reset Password
      PUT
  • Admin
    • Categories
      • List Categories
      • Create Category
      • Get Category
      • Update Category
      • Delete Category
  • Categories
    • List Categories
      GET
    • Get Category
      GET
  • Curator
    • Artisans
      • List Artisans
      • Create Artisan
      • Show Artisan
      • Update Artisan
      • Toggle Activation
      • Bulk Operation
      • Delete Artisan
  • Index
    POST
  1. Auth

Logout

DELETE
http://127.0.0.1:3000/api/account/logout
Maintainer:Not configured

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢202Accepted
application/json
Body

🟠401Authentication Failed
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://127.0.0.1:3000/api/account/logout' \
--header 'Authorization: Bearer <token>'
Response Response Example
202 - Example 1
{
    "data": {
        "id": "string",
        "email": "string",
        "walletAddress": null,
        "firstName": "string",
        "lastName": "string",
        "role": "string",
        "avatar": null,
        "bio": null,
        "phone": null,
        "verified": true,
        "createdAt": "string",
        "updatedAt": "string",
        "locationId": null
    },
    "status": "string",
    "message": "string",
    "code": 0
}
Modified at 2025-05-17 05:00:25
Previous
Verify Account
Next
Forgot Password
Built with