Check for next deployment (v1)
Deprecated
POST
/api/devices/v1/deployments/device/deployments/next
const url = 'https://example.com/api/devices/v1/deployments/device/deployments/next';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/devices/v1/deployments/device/deployments/next \ --header 'Authorization: Bearer <token>'Device API v1 — check for the next deployment (fallback).
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example