Skip to main content
POST
/
auth
/
login
/
delegated
Delegated Login
curl --request POST \
  --url https://api.dfns.io/auth/login/delegated \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-DFNS-USERACTION: <api-key>' \
  --data '{
  "username": "<string>"
}'
{
  "token": "<string>"
}

Authentication

❌ Organization User (CustomerEmployee)
❌ Delegated User (EndUser)
✅ Service Account

Required Permissions

Auth:Login:Delegated: Always required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

X-DFNS-USERACTION
string
header
required

User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows

Body

application/json
username
string
required

Response

200 - application/json

Success

token
string
required