Azure IoT Central (preview:1.2)

2025/10/23 • 92 new methods

ApiTokens_List (new)
Description :  Get the list of API tokens in an application. The token value will never be returned for security reasons.
Reference :  Link ¶

⚼ Request

GET:  /apiTokens
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
token: string ,
expiry: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
ApiTokens_Get (new)
Description :  Get an API token by ID.
Reference :  Link ¶

⚼ Request

GET:  /apiTokens/{tokenId}
{
api-version: string ,
tokenId: string ,
}

⚐ Response (200)

{
id: string ,
token: string ,
expiry: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
ApiTokens_Create (new)
Description :  Create a new API token in the application to use in the IoT Central public API. The token value will be returned in the response, and won't be returned again in subsequent requests.
Reference :  Link ¶

⚼ Request

PUT:  /apiTokens/{tokenId}
{
api-version: string ,
tokenId: string ,
body:
{
id: string ,
token: string ,
expiry: string ,
}
,
}

⚐ Response (200)

{
id: string ,
token: string ,
expiry: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
ApiTokens_Remove (new)
Description :  Delete an API token.
Reference :  Link ¶

⚼ Request

DELETE:  /apiTokens/{tokenId}
{
api-version: string ,
tokenId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Destinations_List (new)
Description :  Get the list of destinations in an application.
Reference :  Link ¶

⚼ Request

GET:  /dataExport/destinations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Destinations_Get (new)
Description :  Get a destination by ID.
Reference :  Link ¶

⚼ Request

GET:  /dataExport/destinations/{destinationId}
{
api-version: string ,
destinationId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Destinations_Create (new)
Description :  Create or update a definition for where to send data.
Reference :  Link ¶

⚼ Request

PUT:  /dataExport/destinations/{destinationId}
{
api-version: string ,
destinationId: string ,
body:
{
id: string ,
displayName: string ,
type: string ,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Destinations_Update (new)
Description :  Perform an incremental update to a destination.
Reference :  Link ¶

⚼ Request

PATCH:  /dataExport/destinations/{destinationId}
{
api-version: string ,
destinationId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Destinations_Remove (new)
Description :  Delete a destination.
Reference :  Link ¶

⚼ Request

DELETE:  /dataExport/destinations/{destinationId}
{
api-version: string ,
destinationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Destinations_ListExports (new)
Description :  List all exports connected to the given destination.
Reference :  Link ¶

⚼ Request

GET:  /dataExport/destinations/{destinationId}/exports
{
api-version: string ,
destinationId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
enabled: boolean ,
source: enum ,
filter: string ,
enrichments: object ,
destinations:
[
{
id: string ,
transform: string ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Exports_List (new)
Description :  Get the list of exports in an application.
Reference :  Link ¶

⚼ Request

GET:  /dataExport/exports
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
enabled: boolean ,
source: enum ,
filter: string ,
enrichments: object ,
destinations:
[
{
id: string ,
transform: string ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Exports_Get (new)
Description :  Get an export by ID.
Reference :  Link ¶

⚼ Request

GET:  /dataExport/exports/{exportId}
{
api-version: string ,
exportId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
enabled: boolean ,
source: enum ,
filter: string ,
enrichments: object ,
destinations:
[
{
id: string ,
transform: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Exports_Create (new)
Description :  Create or update a definition for exporting data. Also used to connect or disconnect an export from destinations.
Reference :  Link ¶

⚼ Request

PUT:  /dataExport/exports/{exportId}
{
api-version: string ,
exportId: string ,
body:
{
id: string ,
displayName: string ,
enabled: boolean ,
source: enum ,
filter: string ,
enrichments: object ,
destinations:
[
{
id: string ,
transform: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
enabled: boolean ,
source: enum ,
filter: string ,
enrichments: object ,
destinations:
[
{
id: string ,
transform: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Exports_Update (new)
Description :  Perform an incremental update to an export.
Reference :  Link ¶

⚼ Request

PATCH:  /dataExport/exports/{exportId}
{
api-version: string ,
exportId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
enabled: boolean ,
source: enum ,
filter: string ,
enrichments: object ,
destinations:
[
{
id: string ,
transform: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Exports_Remove (new)
Description :  Delete an export.
Reference :  Link ¶

⚼ Request

DELETE:  /dataExport/exports/{exportId}
{
api-version: string ,
exportId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Exports_ListDestinations (new)
Description :  List all destinations connected to the given export.
Reference :  Link ¶

⚼ Request

GET:  /dataExport/exports/{exportId}/destinations
{
api-version: string ,
exportId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_List (new)
Description :  Get the list of device groups in an application.
Reference :  Link ¶

⚼ Request

GET:  /deviceGroups
{
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Get (new)
Description :  Get the device group by ID.
Reference :  Link ¶

⚼ Request

GET:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Create (new)
Description :  Create or update a device group.
Reference :  Link ¶

⚼ Request

PUT:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
body:
{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Update (new)
Description :  Update an existing device group by ID.
Reference :  Link ¶

⚼ Request

PATCH:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Remove (new)
Description :  Delete a device group.
Reference :  Link ¶

⚼ Request

DELETE:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_List (new)
Description :  Get the list of device templates in an application with basic ODATA support (top, filter, orderby), [more details](https://aka.ms/iotcentralodatasupport).
Reference :  Link ¶

⚼ Request

GET:  /deviceTemplates
{
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
deploymentManifest: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Get (new)
Description :  Get a device template by ID
Reference :  Link ¶

⚼ Request

GET:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
}

⚐ Response (200)

{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
deploymentManifest: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Create (new)
Description :  Publish a new device template. Default views will be automatically generated for new device templates created this way.
Reference :  Link ¶

⚼ Request

PUT:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
body:
{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
deploymentManifest: object ,
}
,
}

⚐ Response (200)

{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
deploymentManifest: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Update (new)
Description :  Update the cloud properties and overrides of an existing device template via patch.
Reference :  Link ¶

⚼ Request

PATCH:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
body: object ,
}

⚐ Response (200)

{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
deploymentManifest: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Remove (new)
Description :  Delete an existing device template by device ID.
Reference :  Link ¶

⚼ Request

DELETE:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_List (new)
Description :  Get the list of devices in an application with basic ODATA support (top, filter, orderby), [more details](https://aka.ms/iotcentralodatasupport).
Reference :  Link ¶

⚼ Request

GET:  /devices
{
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Get (new)
Description :  Get details about an existing device by device ID.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Create (new)
Description :  Create a new device.
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
body:
{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Update (new)
Description :  Update an existing device by ID.
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Remove (new)
Description :  Delete an existing device by device ID.
Reference :  Link ¶

⚼ Request

DELETE:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetAttestation (new)
Description :  Get device attestation
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_CreateAttestation (new)
Description :  Create an individual device attestation
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
body:
{
type: string ,
}
,
}

⚐ Response (200)

{
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateAttestation (new)
Description :  Update an individual device attestation via patch
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (200)

{
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RemoveAttestation (new)
Description :  Remove an individual device attestation
Reference :  Link ¶

⚼ Request

DELETE:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetCommandHistory (new)
Description :  Get device command history
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunCommand (new)
Description :  Run a command on a device.
Reference :  Link ¶

⚼ Request

POST:  /devices/{deviceId}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListComponents (new)
Description :  List the components present in a device
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/components
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetComponentCommandHistory (new)
Description :  Get component command history
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
componentName: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunComponentCommand (new)
Description :  Run a command on a component.
Reference :  Link ¶

⚼ Request

POST:  /devices/{deviceId}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
componentName: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetComponentProperties (new)
Description :  Get device properties for a specific component
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
componentName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceComponentProperties (new)
Description :  Replace device properties for a specific component
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateComponentProperties (new)
Description :  Update device properties for a specific component via patch
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetComponentTelemetryValue (new)
Description :  Get the last telemetry value from a component.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/components/{componentName}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
componentName: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetCredentials (new)
Description :  Get device credentials
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/credentials
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
idScope: string ,
symmetricKey:
{
primaryKey: string ,
secondaryKey: string ,
}
,
x509:
{
clientCertificates:
{
primary:
{
certificate: string ,
info:
{
sha1Thumbprint: string ,
}
,
}
,
secondary:
{
certificate: string ,
info:
{
sha1Thumbprint: string ,
}
,
}
,
}
,
}
,
tpm:
{
endorsementKey: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListModules (new)
Description :  List the modules present in a device
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleCommandHistory (new)
Description :  Get module command history
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunModuleCommand (new)
Description :  Run a command on a module.
Reference :  Link ¶

⚼ Request

POST:  /devices/{deviceId}/modules/{moduleName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListModuleComponents (new)
Description :  List the components present in a module
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components
{
api-version: string ,
deviceId: string ,
moduleName: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleComponentCommandHistory (new)
Description :  Get module component command history
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunModuleComponentCommand (new)
Description :  Run a command on a module.
Reference :  Link ¶

⚼ Request

POST:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleComponentProperties (new)
Description :  Get module properties for a specific component
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceModuleComponentProperties (new)
Description :  Replace module properties for a specific component
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateModuleComponentProperties (new)
Description :  Update module properties for a specific component via patch
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleComponentTelemetryValue (new)
Description :  Get the last telemetry value from a module component.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleProperties (new)
Description :  Get all property values of a module.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceModuleProperties (new)
Description :  Replace all property values of a module.
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}/modules/{moduleName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateModuleProperties (new)
Description :  Update property values of a module.
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/modules/{moduleName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleTelemetryValue (new)
Description :  Get the last telemetry value from a module.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetProperties (new)
Description :  Get all property values of a device by device ID.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/properties
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceProperties (new)
Description :  Replace all property values of a device by device ID.
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}/properties
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateProperties (new)
Description :  Update property values of a device by device ID.
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/properties
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListRelationships (new)
Description :  List all relationships based on device ID
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/relationships
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
source: string ,
target: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetRelationship (new)
Description :  Get device relationship by ID
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/relationships/{relationshipId}
{
api-version: string ,
deviceId: string ,
relationshipId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
source: string ,
target: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_CreateRelationship (new)
Description :  Create a device relationship
Reference :  Link ¶

⚼ Request

PUT:  /devices/{deviceId}/relationships/{relationshipId}
{
api-version: string ,
deviceId: string ,
relationshipId: string ,
body:
{
id: string ,
name: string ,
source: string ,
target: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
source: string ,
target: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateRelationship (new)
Description :  Update device relationship
Reference :  Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/relationships/{relationshipId}
{
api-version: string ,
deviceId: string ,
relationshipId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
name: string ,
source: string ,
target: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RemoveRelationship (new)
Description :  Delete a device relationship
Reference :  Link ¶

⚼ Request

DELETE:  /devices/{deviceId}/relationships/{relationshipId}
{
api-version: string ,
deviceId: string ,
relationshipId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetTelemetryValue (new)
Description :  Get the last telemetry value from a device.
Reference :  Link ¶

⚼ Request

GET:  /devices/{deviceId}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Get (new)
Description :  Get the file upload storage account configuration.
Reference :  Link ¶

⚼ Request

GET:  /fileUploads
{
api-version: string ,
}

⚐ Response (200)

{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Create (new)
Description :  Create the file upload storage account configuration.
Reference :  Link ¶

⚼ Request

PUT:  /fileUploads
{
api-version: string ,
body:
{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}
,
}

⚐ Response (200)

{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Update (new)
Description :  Update the file upload storage account configuration
Reference :  Link ¶

⚼ Request

PATCH:  /fileUploads
{
api-version: string ,
body: object ,
}

⚐ Response (200)

{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Remove (new)
Description :  Delete the file upload storage configuration.
Reference :  Link ¶

⚼ Request

DELETE:  /fileUploads
{
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_List (new)
Description :  Get the list of jobs in an application
Reference :  Link ¶

⚼ Request

GET:  /jobs
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
description: string ,
group: string ,
batch:
{
type: enum ,
value: number ,
}
,
cancellationThreshold:
{
type: enum ,
value: number ,
batch: boolean ,
}
,
data:
[
{
type: string ,
}
,
]
,
status: string ,
organizations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_Get (new)
Description :  Get details about a running or completed job by job ID.
Reference :  Link ¶

⚼ Request

GET:  /jobs/{jobId}
{
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
description: string ,
group: string ,
batch:
{
type: enum ,
value: number ,
}
,
cancellationThreshold:
{
type: enum ,
value: number ,
batch: boolean ,
}
,
data:
[
{
type: string ,
}
,
]
,
status: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_Create (new)
Description :  Create and execute a new job via its job definition.
Reference :  Link ¶

⚼ Request

PUT:  /jobs/{jobId}
{
api-version: string ,
jobId: string ,
body:
{
id: string ,
displayName: string ,
description: string ,
group: string ,
batch:
{
type: enum ,
value: number ,
}
,
cancellationThreshold:
{
type: enum ,
value: number ,
batch: boolean ,
}
,
data:
[
{
type: string ,
}
,
]
,
status: string ,
organizations:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
description: string ,
group: string ,
batch:
{
type: enum ,
value: number ,
}
,
cancellationThreshold:
{
type: enum ,
value: number ,
batch: boolean ,
}
,
data:
[
{
type: string ,
}
,
]
,
status: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_GetDevices (new)
Description :  Get the list of individual device statuses by job ID.
Reference :  Link ¶

⚼ Request

GET:  /jobs/{jobId}/devices
{
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
status: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_Rerun (new)
Description :  Execute a rerun of an existing job on all failed devices.
Reference :  Link ¶

⚼ Request

PUT:  /jobs/{jobId}/rerun/{rerunId}
{
api-version: string ,
jobId: string ,
rerunId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
description: string ,
group: string ,
batch:
{
type: enum ,
value: number ,
}
,
cancellationThreshold:
{
type: enum ,
value: number ,
batch: boolean ,
}
,
data:
[
{
type: string ,
}
,
]
,
status: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_Resume (new)
Description :  Resume execution of an existing stopped job.
Reference :  Link ¶

⚼ Request

POST:  /jobs/{jobId}/resume
{
api-version: string ,
jobId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Jobs_Stop (new)
Description :  Stop execution of a job that is currently running.
Reference :  Link ¶

⚼ Request

POST:  /jobs/{jobId}/stop
{
api-version: string ,
jobId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_List (new)
Description :  Get the list of organizations the user has access to in an application
Reference :  Link ¶

⚼ Request

GET:  /organizations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
parent: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Get (new)
Description :  Get an organization by ID
Reference :  Link ¶

⚼ Request

GET:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
parent: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Create (new)
Description :  Create an organization in the application
Reference :  Link ¶

⚼ Request

PUT:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
body:
{
id: string ,
displayName: string ,
parent: string ,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
parent: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Update (new)
Description :  Update an organization in the application via patch
Reference :  Link ¶

⚼ Request

PATCH:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
parent: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Remove (new)
Description :  Delete an organization
Reference :  Link ¶

⚼ Request

DELETE:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Query_Run (new)
Description :  Run a query and obtain the result
Reference :  Link ¶

⚼ Request

POST:  /query
{
api-version: string ,
body:
{
query: string ,
}
,
}

⚐ Response (200)

{
results:
[
object ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Roles_List (new)
Description :  Get the list of roles in an application.
Reference :  Link ¶

⚼ Request

GET:  /roles
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Roles_Get (new)
Description :  Get a role by ID.
Reference :  Link ¶

⚼ Request

GET:  /roles/{roleId}
{
api-version: string ,
roleId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_List (new)
Description :  Get the list of users in an application
Reference :  Link ¶

⚼ Request

GET:  /users
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Get (new)
Description :  Get a user by ID
Reference :  Link ¶

⚼ Request

GET:  /users/{userId}
{
api-version: string ,
userId: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Create (new)
Description :  Create a user in the application
Reference :  Link ¶

⚼ Request

PUT:  /users/{userId}
{
api-version: string ,
userId: string ,
body:
{
id: string ,
type: string ,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Update (new)
Description :  Update a user in the application via patch
Reference :  Link ¶

⚼ Request

PATCH:  /users/{userId}
{
api-version: string ,
userId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Remove (new)
Description :  Delete a user
Reference :  Link ¶

⚼ Request

DELETE:  /users/{userId}
{
api-version: string ,
userId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}