AlphaAlpha Docs
API ReferenceAccess control

Update user's project access

Set the list of projects a user has access to

PUT
/access-control/users/{email}/project-access
AuthorizationBearer <token>

In: header

Path Parameters

email*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

projectIds*array<string>

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/access-control/users/string/project-access" \  -H "Content-Type: application/json" \  -d '{    "projectIds": [      "string"    ]  }'
{
  "email": "string",
  "firstName": "string",
  "hasFullAccess": true,
  "id": "string",
  "language": "string",
  "lastLogin": "2019-08-24T14:15:22Z",
  "lastName": "string",
  "profile": {
    "avatar": {
      "blobId": "string",
      "height": 0,
      "thumbnailBlobId": "string",
      "width": 0
    },
    "displayName": "string",
    "logo": {
      "blobId": "string",
      "height": 0,
      "thumbnailBlobId": "string",
      "width": 0
    }
  },
  "projectAccess": [
    "string"
  ],
  "roles": [
    "string"
  ],
  "status": "ACTIVE",
  "subsidiaryAccess": [
    "string"
  ],
  "tenantId": "string",
  "twoFactorEnabled": true,
  "verified": true
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}