Platform API reference

Platform API · Authentication

post/v1/auth/logout

Logout by revoking refresh token

Request body

refresh_token*string

Refresh token (JWT)

Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Response · 204

Logout successful (no content)

Example

Request

POST https://api.platform-auth.productcraft.co/v1/auth/logout
Content-Type: application/json

{
  "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}