Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 5.59 KB

File metadata and controls

22 lines (18 loc) · 5.59 KB

CreateM2MTokenResponseBody

201 Created

Fields

Field Type Required Description Example
object CreateM2MTokenObject ✔️ N/A
id String ✔️ N/A mt_f7f0ba8c3b4843ce7d85fcdd5e71853e
subject String ✔️ N/A mch_2xhFjEI5X2qWRvtV13BzSj8H6Dk
claims JsonNullable<Object> N/A {
"important_metadata": "Some useful data"
}
scopes List<String> N/A [
"mch_2xhFjEI5X2qWRvtV13BzSj8H6Dk",
"mch_2yGkLpQ7Y3rXSwtU24CzTk9I7Em"
]
token String ✔️ N/A mt_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
revoked boolean ✔️ N/A false
revocationReason Optional<String> ✔️ N/A Revoked by user
expired boolean ✔️ N/A false
expiration Optional<Double> ✔️ The timestamp for when the token will expire, in milliseconds 1716883200
lastUsedAt Optional<Double> ✔️ The timestamp for when the token was last used, in milliseconds 1716883200
createdAt double ✔️ The timestamp for when the token was created, in milliseconds 1716883200
updatedAt double ✔️ The timestamp for when the token was last updated, in milliseconds 1716883200