PUT devices/{deviceId}/alias

Updates the current Device alias.

Remarks

C4M Error Code returned:

  • null

    Device has been updated successfully.

  • DeviceNotFound

    Device not found in the environment.

HTTP Status returned:
  • 403 - Forbidden

    The authenticated user doesn't have permission to change the resource.

Request Information

Parameters

NameDescriptionAdditional information
deviceId
Device identifier.

Define this parameter in the request URI.

alias
Updated alias.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
"sample string 1"

Response Information

Operation result.

Response body formats

application/json, text/json

Sample:
{
  "error": null
}