Teammitglieder

GET https://condooai.com/api/team-members/{team_id}
curl --request GET \
--url 'https://condooai.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://condooai.com/api/teams
Parameter Details Beschreibung
team_id Erforderlich Integer -
user_email Erforderlich String -
access Optional String Array read.all
create.projects , create.documents , create.images , create.upscaled_images , create.removed_background_images , create.replaced_background_images , create.transcriptions , create.chats , create.syntheses
update.projects , update.documents , update.images , update.upscaled_images , update.removed_background_images , update.replaced_background_images , update.transcriptions , update.chats , update.syntheses
delete.projects , delete.documents , delete.images , delete.upscaled_images , delete.removed_background_images , delete.replaced_background_images , delete.transcriptions , delete.chats , delete.syntheses
curl --request POST \
--url 'https://condooai.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://condooai.com/api/team-members/{team_member_id}
Parameter Details Beschreibung
access Optional String Array read.all
create.projects , create.documents , create.images , create.upscaled_images , create.removed_background_images , create.replaced_background_images , create.transcriptions , create.chats , create.syntheses
update.projects , update.documents , update.images , update.upscaled_images , update.removed_background_images , update.replaced_background_images , update.transcriptions , update.chats , update.syntheses
delete.projects , delete.documents , delete.images , delete.upscaled_images , delete.removed_background_images , delete.replaced_background_images , delete.transcriptions , delete.chats , delete.syntheses
curl --request POST \
--url 'https://condooai.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://condooai.com/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://condooai.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \