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

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

An enumeration.

Example request

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

Response

Accepted

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

      added the new required request property //