diff --git a/awx/api/templates/api/retrieve_update_api_view.md b/awx/api/templates/api/retrieve_update_api_view.md index 4a0b69ef6a..096552b932 100644 --- a/awx/api/templates/api/retrieve_update_api_view.md +++ b/awx/api/templates/api/retrieve_update_api_view.md @@ -20,9 +20,13 @@ Make a PUT or PATCH request to this resource to update this {% with write_only=1 %} {% include "api/_result_fields_common.md" with serializer_fields=serializer_update_fields %} {% endwith %} +{% endifmeth %} +{% ifmeth PUT %} For a PUT request, include **all** fields in the request. +{% endifmeth %} +{% ifmeth PATCH %} For a PATCH request, include only the fields that are being modified. {% endifmeth %} diff --git a/awx/api/templates/api/retrieve_update_destroy_api_view.md b/awx/api/templates/api/retrieve_update_destroy_api_view.md index e9c8d1fbca..3f3d1f1d61 100644 --- a/awx/api/templates/api/retrieve_update_destroy_api_view.md +++ b/awx/api/templates/api/retrieve_update_destroy_api_view.md @@ -20,9 +20,13 @@ Make a PUT or PATCH request to this resource to update this {% with write_only=1 %} {% include "api/_result_fields_common.md" with serializer_fields=serializer_update_fields %} {% endwith %} +{% endifmeth %} +{% ifmeth PUT %} For a PUT request, include **all** fields in the request. +{% endifmeth %} +{% ifmeth PATCH %} For a PATCH request, include only the fields that are being modified. {% endifmeth %}