List user's scopes

Returns a list of scopes that a user is a member of

get/users/{id}/scopes

Path parameters

idstring uuid required

The ID of a user.

The ID of the user

Response

OK

scopestring required

The name of a scope. This must not be @ prefixed.

ghActionsVerifyActorboolean

Whether to verify the actor of a GitHub Actions run when authenticating publishing with a GitHub Actions OIDC token.

requirePublishingFromCIboolean

Whether to require publishing from a CI environment. This disables publishing from a local environment.

createdAtstring date-time required

The date and time when the scope was created.

updatedAtstring date-time required

The date and time when the scope was last updated.

Example response

[
  {
    "scope": "denoland",
    "creator": {
      "name": "Ryan Dahl",
      "email": "ry@example.com",
      "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
      "githubId": 80,
      "scopeUsage": 3,
      "scopeLimit": 10,
      "inviteCount": 3
    },
    "quotas": {
      "packageUsage": 3,
      "packageLimit": 10,
      "newPackagePerWeekUsage": 1,
      "newPackagePerWeekLimit": 5,
      "publishAttemptsPerWeekUsage": 1,
      "publishAttemptsPerWeekLimit": 5
    }
  }
]

Changes