com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Resetting the Lock of Windows Devices

DescriptionReset the lock of Windows devices.
Resource Path/lock-reset
URL/api/device-mgt/windows/v1.0/services/windows/lock-reset
HTTP MethodPOST
Request/Response Formatapplication/json
cURL command
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -d @'<JSON_PAYLOAD>' -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/api/device-mgt/windows/v1.0/services/windows/lock-reset
  • For more information on how to generate the EMM API token, see Generating the OAuth 2.0 Access Token.
  • Define the path to the JSON file, which lists the devices that this operation is applied on, as the  <JSON_PAYLOAD>  value.
  • By default, <EMM_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.

  • By default, <EMM_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.

Example:

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer 33392fb365b3ac693b405b565ddc8a3a" -d @'windows-operation.json' -k -v https://localhost:9443/api/device-mgt/windows/v1.0/services/windows/lock-reset
Sample JSON
Definition 
[
 "urn:uuid:FAEFB2D5-1771-5446-A635-797AFC474895",
 "urn:uuid:FEDCB4T2-1345-2857-F274-263BES386554"
]

Property value

Description

Data
type 
Example

device_id

ID of the Windows device. Multiple device IDs can be added by using comma separated values. 
For more information on retrieving the device ID, see Retrieving a device ID.

String

urn:uuid:FAEFB2D5-1771-
5446-A635-797AFC474895

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.