Activate code repo

Activate code repo

post/repositories/code/activate

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/repositories/code/activate
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: repositories:write

Request body

code_repo_idinteger required

The ID of the code repo repo

Example request

{
  "code_repo_id": 1
}

Response

The code repo has been activated.

successinteger

The integer 1 indicating success

was_already_activatedinteger

The integer 0 or 1 indicating whether or not the code repo was already active

Example response

{
  "success": 1,
  "was_already_activated": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.