List user's scopes

Changed on

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

get/users/{id}/scopes

Request

  • Base URL
    https://api.jsr.io
  • Auth
    HTTP bearer

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.

descriptionstring required

The description of the scope.

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"
  }
]

Changes

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      the / response's property pattern was changed from /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/ to ^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ for the status

    • info

      added the required property / to the response with the status

    • info

      added the optional property / to the response with the status