GET
/
memberships
/
owner
/
{id}
/
{workspaceId}
curl --request GET \
  --url https://api.contas.rdstationmentoria.com.br/rest/memberships/owner/{id}/{workspaceId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "workspaceId": "<string>",
  "userId": "<string>",
  "role": "owner",
  "user": {
    "id": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "phone": null,
    "picture": null,
    "createdAt": "2025-07-04T18:19:21.200Z",
    "updatedAt": "2025-07-04T18:19:21.200Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
id
string
required

Response

200
application/json

Successful response

The response is of type object.

GET
/
memberships
/
owner
/
{id}
/
{workspaceId}
curl --request GET \
  --url https://api.contas.rdstationmentoria.com.br/rest/memberships/owner/{id}/{workspaceId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "workspaceId": "<string>",
  "userId": "<string>",
  "role": "owner",
  "user": {
    "id": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "phone": null,
    "picture": null,
    "createdAt": "2025-07-04T18:19:21.200Z",
    "updatedAt": "2025-07-04T18:19:21.200Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
id
string
required

Response

200
application/json

Successful response

The response is of type object.