curl --request GET \
--url https://api.contas.rdstationmentoria.com.br/rest/me/memberships \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"workspaceId": "<string>",
"userId": "<string>",
"role": "owner",
"createdBy": null,
"updatedBy": null,
"createdAt": "2025-07-04T18:19:21.200Z",
"updatedAt": "2025-07-04T18:19:21.200Z",
"workspace": {
"name": "<string>",
"picture": null
}
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object[]
.
curl --request GET \
--url https://api.contas.rdstationmentoria.com.br/rest/me/memberships \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"workspaceId": "<string>",
"userId": "<string>",
"role": "owner",
"createdBy": null,
"updatedBy": null,
"createdAt": "2025-07-04T18:19:21.200Z",
"updatedAt": "2025-07-04T18:19:21.200Z",
"workspace": {
"name": "<string>",
"picture": null
}
}
]
curl --request GET \
--url https://api.contas.rdstationmentoria.com.br/rest/me/memberships \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"workspaceId": "<string>",
"userId": "<string>",
"role": "owner",
"createdBy": null,
"updatedBy": null,
"createdAt": "2025-07-04T18:19:21.200Z",
"updatedAt": "2025-07-04T18:19:21.200Z",
"workspace": {
"name": "<string>",
"picture": null
}
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object[]
.
curl --request GET \
--url https://api.contas.rdstationmentoria.com.br/rest/me/memberships \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"workspaceId": "<string>",
"userId": "<string>",
"role": "owner",
"createdBy": null,
"updatedBy": null,
"createdAt": "2025-07-04T18:19:21.200Z",
"updatedAt": "2025-07-04T18:19:21.200Z",
"workspace": {
"name": "<string>",
"picture": null
}
}
]