UserMemberships

Update a document membership

Changed on

Update the authenticated user's membership of a shared document, used to reorder documents in the sidebar.

post/userMemberships.update

Request

  • Base URL
    https://app.getoutline.com/api
  • URL
    https://app.getoutline.com/api/userMemberships.update
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: https://app.getoutline.com/oauth/authorize
      Token URL: https://app.getoutline.com/oauth/token scopes: read, write

Request body

idstring uuid required

Unique identifier for the membership.

indexstring required

The fractional index to move the document to in the sidebar.

Response

OK

Example response

{
  "policies": [
    {
      "abilities": {
        "read": true,
        "update": true,
        "delete": false
      }
    }
  ]
}

Changes