Orgs

Add or update the role of an Org Member

Changed on

Upsert a member role to the org (must have org owner role)

patch/orgs/{name}/members/{username}/{role}

Request

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

Path parameters

namestring required
usernamestring required
role'owner' | 'member' required

An enumeration.

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

    • info

      endpoint deprecated

    • breaking

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

    • info

      for the path request parameter role, the type was generalized from no type to string

    • info

      added the optional property to the response with the status