Description | : Create a new identity with an optional customId mapping, and optionally, an access token. If called again with the same customId, the returned identity will be the same as the one returned previously. |
Reference | : Link ¶ |
⚼ Request
POST:
/identities
{
api-version:
string
,
body:
}
{
,
customId:
string
,
createTokenWithScopes:
[
,
string
,
]
expiresInMinutes:
integer
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
innererror:
string
,
}
⚐ Response (201)
{
identity:
{
,
customId:
string
,
lastTokenIssuedAt:
string
,
id:
string
,
}
accessToken:
}
{
,
token:
string
,
expiresOn:
string
,
}