Sub-accounts & Keys

Terbitkan API key untuk sub-akun

Plaintext key hanya muncul sekali di response ini.

post/api/dev/sub-accounts/{tenantId}/keys

Request

  • Base URL: https://api.tokolaku.id
  • URL: https://api.tokolaku.id/api/dev/sub-accounts/{tenantId}/keys
  • Auth: API key in cookie session

Path parameters

tenantIdstring required

Request body

type'secret' | 'publishable' required
environment'live' | 'test'
scopesstring[]
allowed_originsstring[]

Response

Key berhasil dibuat

idstring required
keystring required

Plaintext — HANYA muncul di response ini

prefixstring required
last4string required

Changes

No recorded changes to this operation across all 1 revision of this API.