Updates the details of a scope

patch/scopes/{scope}

Request

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

Path parameters

scopestring required

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

Example:denoland

The name of the scope

Request body

OR
OR

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

      changed the pattern of the path request parameter scope from /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/ to ^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$

    • 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

      added subschema #3 to the request body oneOf list

    • 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

    • breaking

      the request's body type changed from object to no type

    • warning

      removed the request property

    • info

      added subschema #1 subschema #2 to the request body oneOf list

    • info

      added the optional property to the response with the status