Request ‒ Roles/Post/[roleId]/putTask
Property | Type | Description | |
---|
id | String | This is the unique identifier automatically assigned by IoT Platform when a Role is created. This id is returned in the response of the Roles/Post. |
tasks | String | Specifies the task ids to update for the Role. |
Example JSON Roles/Post/[roleId]/putTask Request
curl -X POST \
https://api.dev.axonize.com/odata/Roles/9939D515-852A-4CAB-A676-6C214CB09A47/PutTask \
-H ‘Accept: application/json, text/plain, */*’ \
-H ‘Accept-Language: en-US,en;q=0.9’ \
-H ‘Content-Type: application/json’ \
-H ‘appId: 1aaf017c-b987-4f53-94d6-ad9afb8e4767’ \
-H ‘cache-control: no-cache’ \
-d ‘{“tasks”:[“15B8BC56-81ED-402E-95CA-3842BBA386BD”]}’