DELETE
/v2/organizations/{id}/avatarDelete an organization avatar
Deletes the avatar associated with an organization. Use the organization's numeric id to identify which avatar to remove. A 200 response returns the organization with its updated avatar information.
idintegerrequired
The int64 numeric identifier of the organization whose avatar to remove.
200Returns the organization with its updated avatar information, along with its ID, name, slug, description, and base permissions.
avatarobjectoptional
basePermissionsobjectrequired
currentUserRolestringoptional
The role of currently authorized user.
Can be null when user has direct access to one of the projects owned by the organization.
descriptionstringoptional
idintegerrequired
namestringrequired
slugstringrequired
400Returned when the organization ID is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when access is forbidden.
codestringrequired
paramsarray<object>optional
404Returned when the organization is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the id path parameter is invalid. A 401 indicates an unauthenticated request, a 403 indicates access is forbidden, and a 404 indicates the organization was not found.