UpdateCompanyLaptopAdmins
Update a company's laptop admins.
Path Parameters
- companyId string required
- application/json
Request Body
List of users or user groups and operation type
laptopAdmins object[]
- operationType UpdateOperationType
Possible values: [
OVERWRITE
,ADD
,DELETE
,CLEAR
]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
PUT /v4/company/:companyid/laptopadmins
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Company/:companyId/LaptopAdmins' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"laptopAdmins": [
{
"id": 0,
"name": "string",
"type": "string"
}
],
"operationType": "OVERWRITE"
}'