Devices
Grant a shared computer to a team
Changed onGrants one shared cloud computer to one team of the organization. Everyone who is in the team passes the access check for as long as they are in it: someone who joins later is covered, and someone who leaves the team or the organization is not. Only a shared computer that belongs to the organization can be granted: a member's own computer is refused with 409 not_shared. Granting twice answers exists. Requires Shared computer grants and computers.create with a recent sign-in.
post/v1/org/computers/shared/{computerId}/team-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
Organization Shared Computer Team Grant Request required
teamId, string typeid required
Den TypeID with 'tem_' prefix and a 26-character base32 suffix.
Response
The team grant, new or already there.
Organization Shared Computer Team Grant Response required
result, 'granted' | 'exists' required
computer, Organization Shared Computer required
grant, Organization Shared Computer Team Grant required
Changes
- info
endpoint added
- info