Add a scorecard to a group
POST/v1/scorecard-groups/:scorecard_group_identifier/scorecards/:scorecard_identifier
Adds an existing scorecard to a scorecard group. Validates that levels match the group, syncs additional scorecard properties from existing related scorecards, and sets relations.group. Scorecards already in another group are rejected unless overrideGroup=true, which moves the scorecard and deletes the previous group if it becomes empty.
Port syncs the group's shared _scorecard blueprint properties from existing related scorecards onto the added scorecard. Property keys must match custom properties you added to the _scorecard blueprint. To learn more, see extend the default scorecards.
This is a closed beta feature.
Request
Responses
- 401
- 404
- 413
- 422
Default Response
A resource with the provided identifier was not found
Request body is too large (limit is 1MiB)
The json provided does not match the route's schema