टीम सदस्य
GET https://dijital.link/api/team-members/{team_id}
curl --request GET \
--url 'https://dijital.link/api/team-members/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://dijital.link/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://dijital.link/api/teams
पैरामीटर | विवरण | विवरण |
---|---|---|
team_id | आवश्यक इंटीजर | - |
user_email | आवश्यक स्ट्रिंग | - |
access | वैकल्पिक स्ट्रिंग अर्रे |
read.all create.links , create.pixels , create.projects , create.biolinks_blocks , create.qr_codes , create.domains , create.signatures , create.splash_pages update.links , update.pixels , update.projects , update.biolinks_blocks , update.qr_codes , update.domains , update.signatures , update.splash_pages delete.links , delete.pixels , delete.projects , delete.data , delete.biolinks_blocks , delete.qr_codes , delete.domains , delete.signatures , delete.splash_pages |
curl --request POST \
--url 'https://dijital.link/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://dijital.link/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://dijital.link/api/team-members/{team_member_id}
पैरामीटर | विवरण | विवरण |
---|---|---|
access | वैकल्पिक स्ट्रिंग अर्रे |
read.all create.links , create.pixels , create.projects , create.biolinks_blocks , create.qr_codes , create.domains , create.signatures , create.splash_pages update.links , update.pixels , update.projects , update.biolinks_blocks , update.qr_codes , update.domains , update.signatures , update.splash_pages delete.links , delete.pixels , delete.projects , delete.data , delete.biolinks_blocks , delete.qr_codes , delete.domains , delete.signatures , delete.splash_pages |
curl --request POST \
--url 'https://dijital.link/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://dijital.link/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://dijital.link/api/team-members/{team_member_id}
curl --request DELETE \
--url 'https://dijital.link/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://dijital.link/api/team-members/{team_member_id}' \
--header 'Authorization: Bearer {api_key}' \