action biapi_post_auth_init {
label: "Create a new anonymous user"
description: "This endpoint creates a new temporary token related to a new anonymous user.
It will expire 30 minutes after.
Note: if you supply client_id and client_secret, or if you call this endpoint with the manage_token, the token will be permanent.
"
provider: biapi
method: POST
path: "/auth/init"
encoding: json
output: {
type: "object"
required: ["auth_token", "type"]
properties: {
auth_token: {
type: "string"
description: "new token created for the new anonymous user"
}
expires_in: {
type: "integer"
description: "duration in seconds of the token validity"
}
type: {
type: "string"
description: "type of the token"
}
}
}
}