Github API - Test Config

PATCH /user/memberships/orgs/{org}
users
orgs

Update an organization membership for the authenticated user

Arguments
key org

org [scalar]

The organization name. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json org-membership

org-membership [object]

Org Membership

Attributes
organization organization-simple

organization_url string

permissions 2042

role string

The user's membership type in the organization.

state string

The state of the member in the organization. The pending state indicates the user has not yet accepted an invitation.

url string

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)