Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
First light
nineveh:goiardi-test jeremy$ knife raw /organizations
{
"default": "http://nineveh.local:4545/organizations/default"
}
nineveh:goiardi-test jeremy$ knife raw /organizations/default
{
"name": "default",
"full_name": "default org",
"guid": "1d40f87ac0b9438f8c20f67c684c32c1"
}
# and one more set...
nineveh:goiardi-test jeremy$ knife raw /organizations -m POST -i post-org.json
{
"full_name": "Foomer Moo",
"guid": "d1821ce5399941cfa2eb7241fcd530cd",
"name": "foomer"
}
nineveh:goiardi-test jeremy$ knife raw /organizations
{
"default": "http://nineveh.local:4545/organizations/default",
"foomer": "http://nineveh.local:4545/organizations/foomer"
}
nineveh:goiardi-test jeremy$ knife raw /organizations/foomer
{
"full_name": "Foomer Moo",
"guid": "d1821ce5399941cfa2eb7241fcd530cd",
"name": "foomer"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.