Team members
GET https://lifterbrand.com/api/team-members/{team_id}
curl --request GET \
--url 'https://lifterbrand.com/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://lifterbrand.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://lifterbrand.com/api/teams
Parameters | Details | Description |
---|---|---|
team_id | Required Integer | - |
user_email | Required String | - |
access | Optional String Array |
read.all create.links , create.pixels , create.projects , create.campaigns , create.notifications , create.side_notifications , create.site_rotators , create.site_rotator_url , create.biolinks_blocks , create.qr_codes , create.domains , create.payment_processors , create.signatures , create.documents , create.images , create.transcriptions , create.splash_pages update.links , update.pixels , update.projects , update.campaigns , update.notifications , update.side_notifications , update.site_rotators , update.site_rotator_url , update.biolinks_blocks , update.qr_codes , update.domains , update.payment_processors , update.signatures , update.documents , update.images , update.transcriptions , update.splash_pages delete.links , delete.pixels , delete.projects , delete.campaigns , delete.data , delete.notifications , delete.side_notifications , delete.site_rotators , delete.site_rotator_url , delete.biolinks_blocks , delete.qr_codes , delete.domains , delete.guests_payments , delete.payment_processors , delete.signatures , delete.documents , delete.images , delete.transcriptions , delete.splash_pages |
curl --request POST \
--url 'https://lifterbrand.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' \
--url 'https://lifterbrand.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://lifterbrand.com/api/team-members/{team_member_id}
Parameters | Details | Description |
---|---|---|
access | Optional String Array |
read.all create.links , create.pixels , create.projects , create.campaigns , create.notifications , create.side_notifications , create.site_rotators , create.site_rotator_url , create.biolinks_blocks , create.qr_codes , create.domains , create.payment_processors , create.signatures , create.documents , create.images , create.transcriptions , create.splash_pages update.links , update.pixels , update.projects , update.campaigns , update.notifications , update.side_notifications , update.site_rotators , update.site_rotator_url , update.biolinks_blocks , update.qr_codes , update.domains , update.payment_processors , update.signatures , update.documents , update.images , update.transcriptions , update.splash_pages delete.links , delete.pixels , delete.projects , delete.campaigns , delete.data , delete.notifications , delete.side_notifications , delete.site_rotators , delete.site_rotator_url , delete.biolinks_blocks , delete.qr_codes , delete.domains , delete.guests_payments , delete.payment_processors , delete.signatures , delete.documents , delete.images , delete.transcriptions , delete.splash_pages |
curl --request POST \
--url 'https://lifterbrand.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'access[]=create' \
--form 'access[]=update' \
--url 'https://lifterbrand.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://lifterbrand.com/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://lifterbrand.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://lifterbrand.com/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \