Teammitglieder

GET https://syncky.com/api/team-members/{team_id}
curl --request GET \
--url 'https://syncky.com/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": [ { "id": 1, "team_id": 1, "user_email": "hello@example.com", "access": { "read": true, "create": true, "update": true, "delete": false }, "status": 1, "datetime": "2022-06-05 14:37:10", "last_datetime": "2022-06-07 13:04:31" } ] }
POST https://syncky.com/api/teams
Parameter Details Beschreibung
team_id Erforderlich Ganzzahl -
user_email Erforderlich Zeichenkette -
access Optional Zeichenkette Array read.all
create.stores , create.menus , create.categories , create.items , create.domains
update.stores , update.menus , update.categories , update.items , update.orders , update.domains
delete.stores , delete.menus , delete.categories , delete.items , delete.orders , delete.domains
curl --request POST \
--url 'https://syncky.com/api/team-members' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'team_id=1' \
--form 'user_email=hello@example.com' \
{ "data": { "id": 1 } }
POST https://syncky.com/api/team-members/{team_member_id}
Parameter Details Beschreibung
access Optional Zeichenkette Array read.all
create.stores , create.menus , create.categories , create.items , create.domains
update.stores , update.menus , update.categories , update.items , update.orders , update.domains
delete.stores , delete.menus , delete.categories , delete.items , delete.orders , delete.domains
curl --request POST \
--url 'https://syncky.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'access[]=create' \
--form 'access[]=update' \
{ "data": { "id": 1 } }
DELETE https://syncky.com/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://syncky.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \