Recreate an access ID and OTP of a bootstrap device
put
/api/studies/{studyId}/subjects/{subjectId}/devices/{deviceId}/cred
Recreate an accessId and OTP (One-Time Password) of a bootstrap device. Required, if the password (OTP) has already expired. The device cannot be bootstrapped using expired or invalid credentials.
Request
Path Parameters
-
deviceId: string
Device ID.
-
studyId: string
Study identifier.
-
subjectId: string
Subject ID.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- */*
202 Response
accessId and OTP recreated.
Root Schema : DeviceCred
Type:
Show Source
object
-
accessId:
string
Client access code generated for a bootstrap device.
-
id(optional):
string(uuid)
Device instance identifier
-
otp:
string
Time-sensitive, one-time authorization code generated by the mHealth Connector Cloud application to bootstrap a device.
404 Response
Invalid study, subject, or device identifier.