Skip to content

Rollback namespaces to be indexed down to n%

PUT
/api/v4/elasticsearch_indexed_namespaces/rollback

This feature was introduced in GitLab 12.7.

DEPRECATED: This endpoint is deprecated and for GitLab.com use only.

This will only ever decrease the number of indexed namespaces. Providing a value higher than the current rolled out percentage will have no effect.

This percentage is never persisted but is used to calculate the number of namespaces to rollback.

Media typeapplication/json
object
percentage
required

Percentage of namespaces to rollout Elasticsearch for

integer
<= 100
plan
required

Subscription tier to rollout Elasticsearch for

string
>= 1 characters
Allowed values: bronze silver premium gold ultimate ultimate_trial ultimate_trial_paid_customer premium_trial opensource

OK

Bad Request