schemas

Replace an existing schema with a new one.

put/groups/{groupId}/apps/{appId}/schemas/{schemaId}

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}/schemas/{schemaId}
  • Auth
    HTTP bearer

Request body

relationshipsSchemaRelationships

Relationships to foreign collections. Each field name is a property in the schema. The corresponding value is a relationship definition for that field.

Response

No Content

Changes

    • breaking

      removed the enum value undefined of the request property /

    • info

      added the new null enum value to the request property /

    • warning

      removed the request property

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      the request property became optional