Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

(low pri) compliance api documentation bug #830

@vinyar

Description

@vinyar

compliance api will likely change, so filing this so it would show up in google in case anyone hits this issue.
doc: https://docs.chef.io/api_compliance.html#id24

BUG:
POST should not have {} around member list.
curl -X POST "$API_URL/orgs/acme/teams/TEAM_ID/members"
-H "Content-Type: application/json" -H "$AUTH" -d '{["bob"]}'

Should instead be:
curl -X POST "$API_URL/orgs/acme/teams/TEAM_ID/members"
-H "Content-Type: application/json" -H "$AUTH" -d '["bob"]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions