Mitglied des Teams
GET https://paths.to/api/teams-member/
curl --request GET \
--url 'https://paths.to/api/teams-member/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://paths.to/api/teams-member/' \
--header 'Authorization: Bearer {api_key}' \
Parameter | Details | Beschreibung |
---|---|---|
page | Optional Ganzzahl | Die Seitenzahl, von der Sie Ergebnisse wünschen. Standardmäßig auf 1 gesetzt. |
results_per_page | Optional Ganzzahl | Wie viele Ergebnisse möchten Sie pro Seite? Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardmäßig ist es 25 . |
{ "data": [ { "id": 1, "access": { "read": true, "create": true, "update": true, "delete": false }, "status": 1, "last_datetime": null, "datetime": "2025-04-04 17:41:21", "team_id": 1, "name": "Example team" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://paths.to/api/teams-member?&page=1", "last": "https://paths.to/api/teams-member?&page=1", "next": null, "prev": null, "self": "https://paths.to/api/teams-member?&page=1" } }
GET https://paths.to/api/teams-member/{team_member_id}
curl --request GET \
--url 'https://paths.to/api/teams-member/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://paths.to/api/teams-member/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "access": { "read": true, "create": true, "update": true, "delete": false }, "status": 1, "last_datetime": null, "datetime": "2025-04-04 17:41:21", "team_id": 1, "name": "Example team" } }
POST https://paths.to/api/teams-member/{team_member_id}
Parameter | Details | Beschreibung |
---|---|---|
status | Optional Boolean | - |
curl --request POST \
--url 'https://paths.to/api/teams-member/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'status=1' \
--url 'https://paths.to/api/teams-member/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'status=1' \
{ "data": { "id": 1 } }
DELETE https://paths.to/api/teams-member/{team_member_id}
curl --request DELETE \
--url 'https://paths.to/api/teams-member/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://paths.to/api/teams-member/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \