Set access for user

Examples

# HTTP request:
https://api.paperspace.io
GET /machines/:machineId/setMachineAccessPublic?userId=u123abc
x-api-key: 1ba4f98e7c0...
# Returns 200 on success

Parameters

Name

Type

Description

machineId

string

Id of the machine to enable access

userId

string

Id of the user to enable machine access for

enableAccess

boolean

When "true", the person is added as an accessor to the machine; when "false" the person is removed

Last updated

Was this helpful?