{
  "opencollection": "1.0.0",
  "info": {
    "name": "Paperspace Container Registries Activity Machine Access API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Machine Access",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Machine Accessors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.paperspace.com/v1/machines/:id/accessors",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Lists team members with explicit access to the machine."
        },
        {
          "info": {
            "name": "Grant Machine Access",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.paperspace.com/v1/machines/:id/accessors",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Grants machine access to a team member."
        },
        {
          "info": {
            "name": "Get Machine Accessor",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.paperspace.com/v1/machines/:id/accessors/:userId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves accessor information for a specific user."
        },
        {
          "info": {
            "name": "Revoke Machine Access",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.paperspace.com/v1/machines/:id/accessors/:userId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Revokes a user's machine access."
        }
      ]
    }
  ],
  "bundled": true
}