Membership Management (Project)

Retrieve project memberships

GET
/projects/{id}/memberships

Returns all memberships in a project.

    /projects/{id}/memberships
  • Parameters
  • include
    string in query

    related attributes to include

    page
    integer in query

    page to display, default to 1, max 100_000

    per_page
    integer in query

    items per page, default to 10, max 1_000

    project_id
    string  (required) in path

    Project UUID

  •  
  • Response Body Show Hide
  • Request URL Show Hide
  • cURL Show Hide

Retrieve a membership

GET
/memberships/{id}

Returns a single membership.

    /memberships/{id}
  • Parameters
  • id
    string  (required) in path

    Membership UUID

    include
    string in query

    related attributes to include

  •  
  • Response Body Show Hide
  • Request URL Show Hide
  • cURL Show Hide

Update the membership

PUT
/memberships/{id}

Updates the membership.

    /memberships/{id}
  • Parameters
  • id
    string  (required) in path

    Membership UUID

    membership
     (required) in body

    Membership to update

    {
    	"role": [
    		"string"
    	]
    } 

Delete the membership

/memberships/{id}

Deletes the membership.

    /memberships/{id}
  • Parameters
  • id
    string  (required) in path

    Membership UUID