Skip to content

Validate status of Code Suggestions

POST
/api/v4/code_suggestions/enabled

Validates the status Code Suggestions for a specified project. This checks if the project has code_suggestions enabled or if an ancestor group has the Code Suggestions add-on enabled.

Media type application/json
object
project_path
required

The path of the project

string
nullable
Example
namespace/project

OK

Bad Request

Unauthorized

403 Code Suggestions Disabled

Not found