diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 790cecda2..87d00226d 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -108324,7 +108324,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index 37948f2f2..51a8d9683 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -26008,19 +26008,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json index 790cecda2..87d00226d 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -108324,7 +108324,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index 37948f2f2..51a8d9683 100644 --- a/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions-next/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -26008,19 +26008,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json index 573c69171..94ac54664 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.json @@ -16624,7 +16624,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml index c88b7ceb4..b0eb3adb0 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml +++ b/descriptions-next/ghes-3.10/ghes-3.10.2022-11-28.yaml @@ -11888,19 +11888,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.10/ghes-3.10.json b/descriptions-next/ghes-3.10/ghes-3.10.json index 573c69171..94ac54664 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.json +++ b/descriptions-next/ghes-3.10/ghes-3.10.json @@ -16624,7 +16624,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.10/ghes-3.10.yaml b/descriptions-next/ghes-3.10/ghes-3.10.yaml index c88b7ceb4..b0eb3adb0 100644 --- a/descriptions-next/ghes-3.10/ghes-3.10.yaml +++ b/descriptions-next/ghes-3.10/ghes-3.10.yaml @@ -11888,19 +11888,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.10/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json index 9e91cc317..6a32094d9 100644 --- a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json @@ -110311,7 +110311,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml index 14b560bcb..72e678836 100644 --- a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml @@ -26767,19 +26767,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.json b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.json index 9e91cc317..6a32094d9 100644 --- a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.json +++ b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.json @@ -110311,7 +110311,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.yaml b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.yaml index 14b560bcb..72e678836 100644 --- a/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.yaml +++ b/descriptions-next/ghes-3.11/dereferenced/ghes-3.11.deref.yaml @@ -26767,19 +26767,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.json b/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.json index d61bc59c1..fc4842316 100644 --- a/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.json +++ b/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.json @@ -16976,7 +16976,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.yaml b/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.yaml index f802affdd..54237735f 100644 --- a/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.yaml +++ b/descriptions-next/ghes-3.11/ghes-3.11.2022-11-28.yaml @@ -12142,19 +12142,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.11/ghes-3.11.json b/descriptions-next/ghes-3.11/ghes-3.11.json index d61bc59c1..fc4842316 100644 --- a/descriptions-next/ghes-3.11/ghes-3.11.json +++ b/descriptions-next/ghes-3.11/ghes-3.11.json @@ -16976,7 +16976,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.11/ghes-3.11.yaml b/descriptions-next/ghes-3.11/ghes-3.11.yaml index f802affdd..54237735f 100644 --- a/descriptions-next/ghes-3.11/ghes-3.11.yaml +++ b/descriptions-next/ghes-3.11/ghes-3.11.yaml @@ -12142,19 +12142,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organization or update the member's role.\n\n* If the authenticated user - is _adding_ a member to the organization, the invited user will receive an - email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) - will be `pending` until they accept the invitation.\n \n* Authenticated - users can _update_ a user's membership by passing the `role` parameter. If - the authenticated user changes a member's role to `admin`, the affected user - will receive an email notifying them that they've been made an organization - owner. If the authenticated user changes an owner's role to `member`, no email - will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners - are limited to creating 50 organization invitations for an organization within - a 24 hour period. If the organization is more than one month old or on a paid - plan, the limit is 500 invitations per 24 hour period." + description: Only authenticated organization owners can add a member to the + organization or update the member's role. If the authenticated user is _adding_ + a member to the organization, the invited user will receive an email inviting + them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) + will be `pending` until they accept the invitation. Authenticated users can + _update_ a user's membership by passing the `role` parameter. If the authenticated + user changes a member's role to `admin`, the affected user will receive an + email notifying them that they've been made an organization owner. If the + authenticated user changes an owner's role to `member`, no email will be sent. + The same rate limits as set on the appliance are applied to this endpoint. + Most commonly, you will hit the secondary rate limit (if configured) due to + CPU usage. tags: - orgs operationId: orgs/set-membership-for-user diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index 91128123f..bc0ddab3b 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -112701,7 +112701,7 @@ }, "put": { "summary": "Set organization membership for a user", - "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\n* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.12/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation.\n \n* Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.\n\n**Rate limits**\n\nTo prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role. If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.12/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. The same rate limits as set on the appliance are applied to this endpoint. Most commonly, you will hit the secondary rate limit (if configured) due to CPU usage.", "tags": [ "orgs" ], diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index df4ba0c3b..73278b173 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -28217,19 +28217,18 @@ paths: subcategory: members put: summary: Set organization membership for a user - description: "Only authenticated organization owners can add a member to the - organiza{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}