Export org members CSV Run in API Explorer

GET /v2/orgs/{org_name}/members/export

Export members of an organization as a CSV

Path parameters

  • org_name string Required

    Name of the organization (namespace).

Responses

  • 200 text/csv

    Exported members

    Hide headers attribute Show headers attribute
    • Content-Disposition string
    Hide response attributes Show response attributes object
    • Name string Required

      First and last name of the member

    • Username string Required

      Username of the member

    • Email string Required

      Email address of the member

    • Type string Required

      Type of the member

      Values are Invitee or User.

    • Permission string

      Permission of the member

      Values are Owner or Member.

    • Teams string

      Comma-separated list of teams the member is part of

    • Date Joined string Required

      Date the member joined the organization

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • errinfo object
    • detail string
    • message string
  • 401 application/json

    Authentication failed

    Hide response attributes Show response attributes object
    • errinfo object
    • detail string
    • message string
  • 403 application/json

    Forbidden

    Hide response attributes Show response attributes object
    • errinfo object
    • detail string
    • message string
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • errinfo object
    • detail string
    • message string
GET /v2/orgs/{org_name}/members/export
curl \
 --request GET 'https://hub.docker.com/v2/orgs/myorganization/members/export' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (400)
{
  "errinfo": {},
  "detail": "string",
  "message": "string"
}
Response examples (401)
{
  "errinfo": {},
  "detail": "string",
  "message": "string"
}
Response examples (403)
{
  "errinfo": {},
  "detail": "string",
  "message": "string"
}
Response examples (404)
{
  "errinfo": {},
  "detail": "string",
  "message": "string"
}