Skip to main content
POST
Accept an ownership recommendation

Authorizations

Authorization
string
header
required

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

id
string
required

The recommendation's id

Response

The recommendation was accepted

What an accept, reject or restore did to one recommendation

id
string
required

The recommendation's id, as the request named it

status
enum<string>
required

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

Available options:
ACCEPTED,
PENDING,
REJECTED,
RESTORED,
FAILED
Example:

"ACCEPTED"

error
object

Why a decision on a recommendation failed