Organizations

Update an organization

Updates organization settings using optimistic concurrency. Requires authenticated authority and enforces current resource policy.

patch/api/orgs/{slug}

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required

Request body

expectedVersioninteger required
basePermission'none' | 'read' | 'write'
allowForkingboolean
displayNamestring
avatarUrlunknown
biostring nullable
locationstring nullable
companystring nullable
websiteUrlstring uri nullable

Response

Response for status 200

displayNamestring nullable required
avatarUrlstring nullable required
biostring nullable required
locationstring nullable required
companystring nullable required
websiteUrlstring nullable required
idstring required
versioninteger required
basePermission'none' | 'read' | 'write' required
allowForkingboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.