User Details

The following are Autonomous Identity user details endpoints:

POST /

Get user details.

Endpoint

/api/userDetails

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Body

{
	"userId": "elizabeth.saiz"
}

Example Request

curl --location --request POST '/api/userDetails' \
--header 'Content-Type: application/json' \
--data-raw '{
	"userId": "elizabeth.saiz"
}'
POST drivingFactor

Get driving factors

Endpoint

/api/userDetails/drivingFactor

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Body

{
	"entitlement": "Web_NAS_Share_Case Management_7HQ"
}

Example Request

curl --location --request POST '/api/userDetails/drivingFactor' \
--header 'Content-Type: application/json' \
--data-raw '{
	"entitlement": "Web_NAS_Share_Case Management_7HQ"
}'
POST search

Search for user details.

Endpoint

/api/userDetails/search

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Body

{
	"username": "a"
}

Example Request

curl --location --request POST '/api/userDetails/search' \
--header 'Content-Type: application/json' \
--data-raw '{
	"username": "elizabeth saiz"
}'

Example Response

{
  "values": [
    {
      "user": "elizabeth.saiz",
      "isentitlementowner": "true",
      "issupervisor": "true",
      "userdisplayname": "Elizabeth Saiz",
      "userdisplayname_lowercase": null
    }
  ]
}
POST Entitlements

Search for entitlements.

Endpoint

/api/userDetails/search/ent

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Body

{
	"entitlement": "test"
}

Example Request

curl --location --request POST '/api/userDetails/search/ent' \
--header 'Content-Type: application/json' \
--data-raw '{
	"entitlement": "test"
}'
POST Auto Provision

Get auto provision.

Endpoint

/api/userDetails/ent/autoprovision

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Body

{
	"user": "test"
}

Example Request

curl --location --request POST '/api/userDetails/ent/autoprovision' \
--header 'Content-Type: application/json' \
--data-raw '{
	"user": "test"
}'
GET Entitlement Decisions

Get entitlement decisions.

Endpoint

/api/userDetails/decision?user=james.ayache

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Params

user              james.ayache

Example Request

curl --location --request GET '/api/userDetails/decisions?user=james.ayache' \
--header 'Content-Type: application/json' \
--data-raw ''
POST Entitlement Decisions

Post entitlement decisions.

Endpoint

/api/userDetails/decision

Authorization

Bearer Token <JWT-value>

Headers

Content-Type      application/json

Example Request

curl --location --request POST '{{zoran_api}}userDetails/decision' \
--header 'Content-Type: application/json' \
--data-raw '{
	"users": [
        "james.ayache",
        "other.user"
    ],
    "entitlements": [
        "ABC",
        "DEFFF"
    ],
    "is_certified": true
}'
Read a different version of :