Skip to content
  • Auto
  • Light
  • Dark
Get Started

Update

Update
post/api/v1/apps/{app_user_app_id}/app_users/{app_user_id}

Update an app user by ID. Only the fields specified in the update mask are updated. Currently, only the appUserType, and identityUserId fields can be updated.

Path Parameters
app_user_app_idstring

The ID of the application.

app_user_idstring

A unique idenditfier of the application user.

Body Parameters
appUseridstringappIdstringappUserTypeenumcreatedAtstringdeletedAtstringdisplayNamestringemailstringemailsarray of stringemployeeIdsarray of stringidentityUserIdstringisExternalbooleanprofilemapstatusobjectupdatedAtstringusernamestringusernamesarray of stringC1APIAppV1AppUser
optional

Application User that represents an account in the application.

expandMaskpathsarray of stringC1APIAppV1AppUserExpandMask
optional

The AppUserExpandMask message contains a list of paths to expand in the response.

updateMaskstring
optional
Returns
appUserViewappPathstringappUserC1APIAppV1AppUseridentityUserPathstringlastUsagePathstringC1APIAppV1AppUserView
optional

The AppUserView contains an app user as well as paths for apps, identity users, and last usage in expanded arrays.

expandedarray of object
optional

The expanded field.

Hide ParametersShow Parameters
@typestring
optional

The type of the serialized message.

Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/apps/$APP_USER_APP_ID/app_users/$APP_USER_ID \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "appUserView": {
    "appPath": "appPath",
    "appUser": {
      "appUserType": "APP_USER_TYPE_UNSPECIFIED",
      "status": {}
    },
    "identityUserPath": "identityUserPath",
    "lastUsagePath": "lastUsagePath"
  },
  "expanded": [
    {
      "@type": "@type"
    }
  ]
}