Skip to main content

Members

Members are users that belong to a particular workspace. Every member is derived from a corresponding profile, inheriting its id and name. Within the scope of a workspace, each member is visible to one another, so operating with a reduced property set allows for enhanced data security.


Objects

Member

PathJSON TypeFormatDescription
idstringVersion 4 UUIDThe member ID (derived from corresponding profile ID)
namestringThe member name (derived from corresponding profile name)
handlestringThe unique @-prefixed handle for this member (derived from corresponding profile handle)
{
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/workspaces/6b12887a-1b10-4e3f-897e-0ee3d4adf8ad/members/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}

Requests

View all members of a workspace

GET /api/workspaces/{workspace-id}/members

Returns all members of the workspace {workspace-id}.

Prerequisites

  • The user must be a member of the workspace {workspace-id}
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/6b12887a-1b10-4e3f-897e-0ee3d4adf8ad/members' -i -X GET

Response

200 OK

Member collection with HAL links.

{
"_embedded" : {
"members" : [ {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/workspaces/6b12887a-1b10-4e3f-897e-0ee3d4adf8ad/members/auth0%7C6a21dc7aa1db2e036a222942"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/workspaces/6b12887a-1b10-4e3f-897e-0ee3d4adf8ad/members"
}
}
}

View a member of a workspace

GET /api/workspaces/{workspace-id}/members/{member-id}

Returns the member {member-id} of the workspace {workspace-id}.

Prerequisites

  • The user must be a member of the workspace {workspace-id}
Examples
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/6b12887a-1b10-4e3f-897e-0ee3d4adf8ad/members/auth0%7C6a21dc7aa1db2e036a222942' -i -X GET

Response

200 OK

Member with HAL links.

{
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/workspaces/6b12887a-1b10-4e3f-897e-0ee3d4adf8ad/members/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}