createOrUpdateProjectGroup

@PUT(value = "api/project-groups/{projectGroupId}")
abstract suspend fun createOrUpdateProjectGroup(@Path(value = "projectGroupId") projectGroupId: String, @Body projectGroup: ProjectGroup): ProjectGroup

Create or update a project group. <mark>Beta:</mark> Create a new project group in Develocity or update an existing project group. When updating, any optional fields that are omitted from the request, but were previously set on the project group, will be unset/removed. An existing project group's identifier cannot be updated. If the update contains a id that does not match the current id, then the operation will fail with a Bad Request response. Responses:

  • 200: The project group was created or it was updated successfully.

  • 400: The request body is malformed or contains invalid values for at least one of the properties.

  • 403: The authenticated user has insufficient permissions.

  • 404: No API key was specified in the request, the key has been revoked or the user bearing the key lacks permissions for this operation.

Return

ProjectGroup

Parameters

projectGroupId

The ID of the project group.

projectGroup