Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

organizations/name PUT is update, not create #2331

Merged
merged 2 commits into from Feb 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 10 additions & 2 deletions chef_master/source/api_chef_server.rst
Expand Up @@ -484,7 +484,7 @@ The response is similar to:

PUT
+++++++++++++++++++++++++++++++++++++++++++++++++++++
The ``PUT`` method is used to create an organization.
The ``PUT`` method is used to update an organization definition.
kagarmoe marked this conversation as resolved.
Show resolved Hide resolved

This method has no parameters.

Expand All @@ -505,7 +505,15 @@ with a request body similar to:

**Response**

The response will return the JSON for the updated organization.
The response is similar to:

.. code-block:: none

{
"name": "chef",
"full_name": "Chef Software, Inc",
"guid": "f980d1asdfda0331235s00ff36862"
}

**Response Codes**

Expand Down