- API >
- Public API Resources >
- Feature Control Policies >
- Update Feature Policies for One Project
Update Feature Policies for One Project¶
On this page
Base URL: https://cloud.mongodb.com/api/public/v1.0
Required Roles¶
This resource requires the Project Owner
.
Resource¶
Important
You must include every policy that you want to include and maintain. This resource overwrites any existing policy. If you omit a policy when using this resource, that policy isn’t enforced after the update. That policy has been removed.
Request Path Parameters¶
Name | Type | Necessity | Description |
---|---|---|---|
PROJECT-ID |
string | Required | Unique identifier of the project that has the controlled features. |
Request Query Parameters¶
The following query parameters are optional:
Name | Type | Description | Default | ||||
---|---|---|---|---|---|---|---|
pageNum | integer | Page number (1-index based). | 1 |
||||
itemsPerPage | integer | Number of items to return per page, up to a maximum of 500. | 100 |
||||
pretty | boolean | Indicates whether the response body should be in a prettyprint format. | false |
||||
envelope | boolean | Indicates whether or not to wrap the response in an envelope. Some API clients cannot access the HTTP response headers or
status code. To remediate this, set For endpoints that return one result, response body includes:
For endpoints that return a list of results, the |
None |
Request Body Parameters¶
Name | Type | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
externalManagementSystem |
object | Identifying parameters for the external system that manages this Ops Manager Project. | ||||||||||||||||||||||
externalManagementSystem .name |
string | Identifying label for the external system that manages this Ops Manager Project. | ||||||||||||||||||||||
externalManagementSystem .systemId |
string | Unique identifier of the external system that manages this Ops Manager Project. | ||||||||||||||||||||||
externalManagementSystem .version |
string | Active release of the external system that manages this Ops Manager Project. | ||||||||||||||||||||||
policies |
array | List of policies that the external system applies to this Ops Manager Project. | ||||||||||||||||||||||
policies .policy[n] |
object | Single policy set for this Ops Manager Project. This parameter can
be set one or more times in the Accepted values are:
|
||||||||||||||||||||||
policies[n] .disabledParams |
array | List of mongod settings to disable when you apply the
DISABLE_SET_MONGOD_CONFIG policy. For information about
accepted values, see Supported MongoDB Options for
Automation. |
Response¶
Name | Type | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_id |
string | Unique identifier of the Project for which you are setting this policy. | ||||||||||||||||||||||
created |
string | Timestamp in ISO 8601 date and time format in UTC when this feature control policy was created. | ||||||||||||||||||||||
updated |
string | Timestamp in ISO 8601 date and time format in UTC when this feature control policy was updated. | ||||||||||||||||||||||
externalManagementSystem |
object | Identifying parameters for the external system that manages this Cloud Manager Project. | ||||||||||||||||||||||
externalManagementSystem .name |
string | Identifying label for the external system that manages this Cloud Manager Project. | ||||||||||||||||||||||
externalManagementSystem .systemId |
string | Unique identifier of the external system that manages this Cloud Manager Project. | ||||||||||||||||||||||
externalManagementSystem .version |
string | Active release of the external system that manages this Cloud Manager Project. | ||||||||||||||||||||||
policies |
array | List of policies that the external system applies to this Cloud Manager Project. | ||||||||||||||||||||||
policies .policy[n] |
object | Single policy set for this Cloud Manager Project. This parameter can
be set one or more times in the Possible values are:
|
||||||||||||||||||||||
policies[n] .disabledParams |
array | List of mongod settings to disable if you apply the
DISABLE_SET_MONGOD_CONFIG policy. For information about
possible values, see Supported MongoDB Options for
Automation. |