secrets

Create a new Secret

Create a new Secret.

post/groups/{groupId}/apps/{appId}/secrets

Request

  • Base URL
    https://services.cloud.mongodb.com/api/admin/v3.0
  • URL
    https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/secrets
  • Auth
    HTTP bearer

Request body

namestring required
valuestring required

Response

The Secret was successfully created.

_idstring
namestring

Changes

No recorded changes to this operation across all 50 revisions of this API.