Garment.id
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
HomeCore API
Tenant APISupport CenterChangelog
HomeCore API
Tenant APISupport CenterChangelog
Github
Instagram
|
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Authentication
  • Authentication
    • Google OAuth Redirect
      GET
    • Google OAuth Callback
      GET
    • Register
      POST
    • Login
      POST
    • Refresh Token
      POST
    • Login with Google
      POST
    • Two Factor Challenge
      POST
    • Request Password Reset
      POST
    • Reset Password
      POST
    • Verify Email
      GET
    • Resend Verification Email
      POST
    • Select Tenant
      POST
    • Tenant Onboarding
      POST
    • Logout
      POST
    • Logout All
      POST
    • Me
      GET
  • Auth Activity
    • Auth Activities
      GET
    • Suspicious Activities
      GET
    • Tenant Auth Activities
      GET
    • User Security Activities
      GET
  • Billing
    • Public Plan Catalog
      GET
    • Billing Webhook
      POST
    • Billing Audit List
      GET
    • Billing Audit Detail
      GET
    • List Plans
      GET
    • Upsert Plan
      PUT
    • Upsert Plan Feature Value
      PUT
    • List Features
      GET
    • Upsert Feature
      PUT
    • Public Plan Catalog
      GET
    • Billing Webhook
      POST
    • Billing Audit List
      GET
    • Billing Audit Detail
      GET
    • List Plans
      GET
    • Upsert Plan
      PUT
    • Upsert Plan Feature Value
      PUT
    • List Features
      GET
    • Upsert Feature
      PUT
  • Master Data
    • List Master Taxonomies
    • Create Master Taxonomy
    • Master Taxonomy Detail
    • Update Master Taxonomy
    • Delete Master Taxonomy
    • List Master Taxonomies
    • Create Master Taxonomy
    • Master Taxonomy Detail
    • Update Master Taxonomy
    • Delete Master Taxonomy
HomeCore API
Tenant APISupport CenterChangelog
HomeCore API
Tenant APISupport CenterChangelog
Github
Instagram
|
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇮🇩 Indonesian
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Authentication

Two Factor Challenge

POST
http://localhost/api/v1/auth/two-factor/challenge
Authentication
Terakhir diubah:2026-03-03 23:00:16
OperationId:central.auth.two-factor.challenge
docs_desc_two_factor_challenge

Request

Otorisasi
Berikan token Bearer anda pada header
Authorization
ketika melakukan request ke resource yang dilindungi.
Contoh:
Authorization: Bearer ********************
Body Parameterapplication/json

Contoh

Response

🟢200
application/json
Body

request Contoh Request
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost/api/v1/auth/two-factor/challenge' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "code": "string",
    "recovery_code": "string",
    "device_name": "string",
    "remember_device": true
}'
response Contoh Response
"string"
Diubah pada 2026-03-03 23:00:16
Sebelumnya
Login with Google
Berikutnya
Request Password Reset
Built with