Accept an ownership recommendation
Adds the recommended team as a direct owner of the entity, and records that the recommendation was accepted. When the entity’s owners are managed in Git, a pull request adding the team is queued instead, and the result is PENDING until it merges.
Authorizations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Path Parameters
The recommendation's id
Response
The recommendation was accepted
What an accept, reject or restore did to one recommendation
The recommendation's id, as the request named it
ACCEPTED when the team is now an owner; PENDING when a GitOps pull request adding it is queued, so the owner changes once it merges; REJECTED or RESTORED when that decision was recorded; FAILED otherwise
ACCEPTED, PENDING, REJECTED, RESTORED, FAILED "ACCEPTED"
Why a decision on a recommendation failed