Create a Credential for a Resource.
A Credential can be created to provide read-write access to the Resource as well as ALL children. For example, a Credential can be created for a Researcher to provide a user access to all Studies, Participants, Activities, etc. Credentials created on Researchers and Participants are logically consistent with an "admin" account and a "user" account, but Credentials can also be created for other Resource types, such as Sensors and Activities. A Credential for an Activity would yield the ability to read/write the properties of the Activity (like schedule or settings), but also the ability to create and list ActivityEvents generated from that Activity by Participants.
| Path Parameters |
|---|
id string — REQUIREDThe special case |
| Request Body — REQUIRED |
|---|
| object |
| Responses | ||
|---|---|---|
200Success
| ||
defaultError
|