Devices
Grant a shared computer to a member or an agent
Changed onGrants one shared cloud computer to one current member (memberId) or one active agent (agentId) of the organization. Only a shared computer that belongs to the organization can be granted: a member's own computer is refused with 409 not_shared. A person who has not accepted their invitation is refused with 409 member_not_joined. Granting twice answers exists. A team is granted with the team-grants route. Requires Shared computer grants and computers.create with a recent sign-in.
post/v1/org/computers/shared/{computerId}/grants
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
computerId, string typeid required
Den TypeID with 'wrk_' prefix and a 26-character base32 suffix.
Request body
union required
object required
OR
object required
Response
The grant, new or already there.
Organization Shared Computer Grant Response required
result, 'granted' | 'exists' required
computer, Organization Shared Computer required
grant, Organization Shared Computer Grant required
Changes
- info
added the required property
computer/teamGrantsto the response with the status
- info
- info
endpoint added
- info