Github API - Test Config

mutation updateSponsorshipPreferences

Change visibility of your sponsorship and opt in or out of email updates from the maintainer.

Arguments
input UpdateSponsorshipPreferencesInput

UpdateSponsorshipPreferencesInput [input]

Autogenerated input type of UpdateSponsorshipPreferences

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

privacyLevel SponsorshipPrivacy

Specify whether others should be able to see that the sponsor is sponsoring
the sponsorable. Public visibility still does not reveal which tier is used.

receiveEmails Boolean

Whether the sponsor should receive email updates from the sponsorable.

sponsorId ID

The ID of the user or organization who is acting as the sponsor, paying for
the sponsorship. Required if sponsorLogin is not given.

sponsorLogin String

The username of the user or organization who is acting as the sponsor, paying
for the sponsorship. Required if sponsorId is not given.

sponsorableId ID

The ID of the user or organization who is receiving the sponsorship. Required if sponsorableLogin is not given.

sponsorableLogin String

The username of the user or organization who is receiving the sponsorship. Required if sponsorableId is not given.

API:
Github GraphQL API

Parameters for UpdateSponsorshipPreferences

Returns
UpdateSponsorshipPreferencesPayload

UpdateSponsorshipPreferencesPayload [object]

Autogenerated return type of UpdateSponsorshipPreferences

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

sponsorship Sponsorship

The sponsorship that was updated.

API:
Github GraphQL API
API:
Github GraphQL API