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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://127.0.0.1:3000/api/account/logout'
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
}

Request

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

Responses

🟢202Accepted
application/json
Body
data
object 
required
id
string 
required
email
string 
required
walletAddress
null 
required
firstName
string 
required
lastName
string 
required
role
string 
required
avatar
null 
required
bio
null 
required
phone
null 
required
verified
boolean 
required
createdAt
string 
required
updatedAt
string 
required
locationId
null 
required
status
string 
required
message
string 
required
code
integer 
required
🟠401Authentication Failed
Previous
Verify Account
Next
Forgot Password
Built with