Skip to main content
POST
/
logout
cURL
curl --request POST \
  --url https://api.visaji.com/logout \
  --header 'Authorization: Bearer <token>'
{
  "email": "[email protected]",
  "id": "123",
  "password": "1d51eda152c84347103ad7bcb1e85e96",
  "phone": "123-456-7890",
  "photoUrl": "https://cdn.visaji.com/photo.png",
  "displayName": "<string>",
  "emailVerifiedAt": "<string>",
  "phoneVerifiedAt": "<string>",
  "updatedAt": "<string>",
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Success

email
string
required
id
string
Example:

"123"

password
string | null
Example:

"1d51eda152c84347103ad7bcb1e85e96"

phone
string | null
Example:

"123-456-7890"

photoUrl
string | null
Example:

"https://cdn.visaji.com/photo.png"

displayName
string | null
emailVerifiedAt
string | null
phoneVerifiedAt
string | null
updatedAt
string | null
createdAt
string