Projects

Upsert a new permission to a project

Changed on
patch/projects/{owner}/{name}/permissions

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in header x-pollination-token

Path parameters

ownerstring required
namestring required

Request body

typestring

A base class to use when there is no baseclass available to fall on.

permission'admin' | 'write' | 'read' required

An enumeration.

Example request

{
  "subject": {
    "name": "ladybugbot"
  }
}

Response

Accepted

typestring

A base class to use when there is no baseclass available to fall on.

statusstring

Changes

    • breaking

      response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status