Edit an organization
curl --request PATCH \
--url https://gogs.example.com/api/v1/orgs/{orgname} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"full_name": "<string>",
"description": "<string>",
"website": "<string>",
"location": "<string>"
}
'{
"id": 123,
"username": "<string>",
"full_name": "<string>",
"avatar_url": "<string>",
"description": "<string>",
"website": "<string>",
"location": "<string>"
}Organizations
Edit an organization
PATCH
/
orgs
/
{orgname}
Edit an organization
curl --request PATCH \
--url https://gogs.example.com/api/v1/orgs/{orgname} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"full_name": "<string>",
"description": "<string>",
"website": "<string>",
"location": "<string>"
}
'{
"id": 123,
"username": "<string>",
"full_name": "<string>",
"avatar_url": "<string>",
"description": "<string>",
"website": "<string>",
"location": "<string>"
}Authorizations
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Path Parameters
Organization name