Devices
Revoke a shared computer from a team
Changed onEnds one team's grant on a shared cloud computer. The next access check for its members finds no team grant; a member who was also granted the computer directly keeps that grant. Revoking a grant that is not there answers not_granted. Requires Shared computer grants and computers.create with a recent sign-in.
delete/v1/org/computers/shared/{computerId}/team-grants/{teamId}
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.
teamId, string typeid required
Den TypeID with 'tem_' prefix and a 26-character base32 suffix.
Response
The team grant is gone, or was not there.
Organization Shared Computer Team Revoke Response required
result, 'revoked' | 'not_granted' required
computer, Organization Shared Computer required
teamId, string required
Changes
- info
endpoint added
- info