Skip to main content
POST
/
sessions
/
attach-roles
Attach roles to the current session
curl --request POST \
  --url https://auth.platform.arb.inc/sessions/attach-roles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "totp_passcode": "123456"
}
'
"session roles successfully enabled; please refresh the session"

Authorizations

Authorization
string
header
required

access token

Body

application/json
totp_passcode
string

The TOTP code generated by the user's authenticator app.

Example:

"123456"

Response

Session roles successfully enabled.

The response is of type string.

Example:

"session roles successfully enabled; please refresh the session"