Skip to main content

Modify Access Control

Select

SaaS
Customer Managed

Updates owner permissions and/or automatic laptop ownership assignment

Request Body
  • ownerPermissions object[]

    List of owner permissions

  • id int32
  • name string
  • automaticLaptopOwnershipAssignment object

    Details of automatic laptop ownership assignment

  • assignLaptopOwnerAutomatically boolean

    Whether the laptop ownership assignment is automatic or not

  • laptopOwnerOption LaptopOwnerOption

    Possible values: [ALL_LOGGED_IN_AD_USERS, FIRST_USER_TO_LOGIN, ALL_USERS_OF_USERGROUPS]

    Options to automatically assign laptop owners

  • userGroups string

    Comma seperated usergroups to add users from, when the laptopOwnerOption is 'ALL_USERS_OF_USERGROUPS'

Responses

OK


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/accesscontrol    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"ownerPermissions": [
{
"id": 0,
"name": "string"
}
],
"automaticLaptopOwnershipAssignment": {
"assignLaptopOwnerAutomatically": true,
"laptopOwnerOption": "ALL_LOGGED_IN_AD_USERS",
"userGroups": "string"
}
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/AccessControl' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ownerPermissions": [
{
"id": 0,
"name": "string"
}
],
"automaticLaptopOwnershipAssignment": {
"assignLaptopOwnerAutomatically": true,
"laptopOwnerOption": "ALL_LOGGED_IN_AD_USERS",
"userGroups": "string"
}
}'